I have a plugin we are using internally that automates our build process. To kick it off, I pass in environment variables to the IntelliJ launch script and listen for those in the plugin. This works fine if there are no existing IntelliJ processes, but issues arise when there is an existing process (because the new process instead calls the existing process to open the project in the existing process).
I am curious if anyone has any thoughts on how I can pass along the environment variables from new process to the existing process show how (I know it cant be a native system property).
My only other thought is to instead use the file system to pass this flag along, but that feels a bit more messy. Anyone recommendations welcome!