Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants