Replies: 2 comments 3 replies
-
|
So on windows everyone can see everyone else's env vars? Safe... |
Beta Was this translation helpful? Give feedback.
3 replies
-
|
#40 (comment) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I use following approach for Windows
You can set predefined process environment variable, for example
os.environ['PROCESS_NAME'] = 'myProcessName'
To check, if Python process with this name running from other Python process, you can use psutil package
to iterate between all processes and check their environment variables.
Beta Was this translation helpful? Give feedback.
All reactions