How to run batch file to set environment properly before running application
Answered
I need to run a batch file to set the environment properly before I execute one of the run configurations I've setup in IntelliJ. Is there a way to run this script and set the environment before running the application?

Please sign in to leave a comment.
It's not possible because the tools are executed in different processes. Once the process is terminated, its environment is lost and the second process has completely different environment.
Can you think of an alternative to make this work?
Vote for https://youtrack.jetbrains.com/issue/IDEA-137820.