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?

 
0
3 comments

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.

0
Avatar
Permanently deleted user

Can you think of an alternative to make this work?

0

Please sign in to leave a comment.