- Jan
- 4
- 0
Hi all,
I'm having a weird issue in TCC. I tried commands including equals signs, like e.g:
It works if I quote the argument:
Is there a workaround for this?
Grts, Geert.
PS: This still occurs in TC 16.
I'm having a weird issue in TCC. I tried commands including equals signs, like e.g:
mvn -Denv=local
This calls mvn.bat (Apache Maven), which launches a java process, using:set MAVEN_CMD_LINE_ARGS=%*
"%JAVA_HOME%\bin\java.exe" ... %MAVEN_CMD_LINE_ARGS%
In the java process, the argument '-Denv=local' seems to be split, since it complains: 'Unknown lifecycle phase "local"'."%JAVA_HOME%\bin\java.exe" ... %MAVEN_CMD_LINE_ARGS%
It works if I quote the argument:
mvn "-Denv=local"
This is quite annoying, and incompatible with e.g. bash or CMD.
Is there a workaround for this?
Grts, Geert.
PS: This still occurs in TC 16.