mon
mon

Reputation: 22244

IntelliJ IDEA does not expand environment variables in Program arguments in Run Configuration

enter image description here

Same in Using environment variables in “VM options” and “Program arguments”, the environment variables cannot be used in Program arguments in the Run configuration. If I put $VARIABLE in the Program arguments (VARIABLE is configured in Environment variables in the Run configurations.

None works.

Is this a bug?

Environment

$ cat /etc/os-release 
NAME="Ubuntu"
VERSION="18.04.2 LTS (Bionic Beaver)"
ID=ubuntu

enter image description here

Upvotes: 2

Views: 1481

Answers (1)

CrazyCoder
CrazyCoder

Reputation: 401965

It's a bug affecting user environment variables defined in the same configuration, it works for the system environment variables.

Upvotes: 2

Related Questions