go-ps icon indicating copy to clipboard operation
go-ps copied to clipboard

WSL: Show native Windows processes

Open mcandre opened this issue 4 years ago • 0 comments

I have a need to show the complete list of processes, so that Go code running inside Windows Subsystem for Linux reports not only the Linux processes, but the native Windows processes as well. Could we please expand the list?

For example, detect when the environment is WSL. Then run /mnt/c/Windows/System32/tasklist.exe and parse the results.

mcandre avatar Apr 10 '21 00:04 mcandre