How to specify PATH in Run/Debug ?
Answered
my program needs some files which it looks in PATH
i can't change system env
can i specify this PATH in Run/Debug configuration dialog?
maybe i should put something in Environment Variables?
maybe there is a parameter to jvm?
or maybe i can specify 2 working direcories?
Please sign in to leave a comment.
Hello botWi,
If your code depends on the value of the PATH environment variable, then
you can use the Environment Variables option of the run configuration to
set the necessary value. Press ... to open the editing dialog, enter PATH
as the variable name, and your desired path (or list of paths) as the variable
value.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Hi all.
It seems that impossible to add additional elements to the path. For example, environment variable PATH=$PATH will be taken literally as $PATH. So, this PATH=/my/path:$PATH will also be taken literally.
Thanks
Gasguseinov
It's possible, but the syntax is different: