I have a shell script that starts the Maven exec process: java -
exec mvn exec:java -Dexec.mainClass=... -Dexec.args="$*"
Now, unfortunately, if I ran
./myMagicShellScript arg1 "arg 2"
a single line arg 2does not execute it as a single argument, as we would like.
Any thoughts on how to escape / transfer things correctly (apparently in a clean way)?
source
share