Monday, 17 April 2017

Include multiple items in one command line argument

I have an executable called suman -

suman --runner --exec-args="--harmony --expose-gc" test/src/a.js --inherit-stdio

I want to include "--harmony --expose-gc" and pass this to --exec-args, but right now it's taking "--expose-gc" instead.

Anyone know how to pass the whole string to that argument?

I tried this too:

suman --runner --exec-args='"--harmony --expose-gc"' test/src/a.js --inherit-stdio

and this:

suman --runner --exec-args="'--harmony --expose-gc'" test/src/a.js --inherit-stdio

Still didn't take.



via Alexander Mills

No comments:

Post a Comment