Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Retrieving the full path of a process #49

Open
lprat opened this issue Feb 19, 2021 · 1 comment
Open

Retrieving the full path of a process #49

lprat opened this issue Feb 19, 2021 · 1 comment

Comments

@lprat
Copy link

lprat commented Feb 19, 2021

Hi,

First, thank for you tool!
I would like to known if possible to implemente feature to obtains full path of a process.
For linux is just read "/proc/PID/exe"...
On windows, maybe like https://github.com/kardianos/osext/blob/master/osext_windows.go ...

Thanks.
Lionel

@mcandre
Copy link

mcandre commented Apr 9, 2021

I have a use case of trying to relaunch a list of processes.

In my case, I really need the absolute path to the binaries and other important data, including argv, environment variables, user ID's, and working directory.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants