|
|
|
|
|
by iyn
479 days ago
|
|
I'm confused too :). The LuLu alert says [0]: process id: 54279
process args: -p "<some id>" + JSON. stringify(process.env) + "<some id>"
process path: /Applications/Cursor.app
The alert showed up right after I installed the app and clicked on the Cursor icon [1]. I understand that processes can access the entire environment by default (which was always a bit too "open"/strange for my taste, but I get the reason) but then I don't understand why you need to use `JSON. stringify(process.env)`[0] <some id> was some 12 character hex string [1] Note that this was like a month ago; I have a cold, so finally have time to catch up on such questions |
|
Perhaps it is written using some kind of JavaScript framework that doesn't allow access to the process environment by default, but this lets them work around that to access the environment like a native app?
One reason you'd want an IDE to have access to your environment is to enable any tools/compilers/whatever you launch from the IDE to inherit the environment (say, to access SSH_AGENT_SOCK, or whatever).