Passed process arguments to executable script#36
Conversation
There was a problem hiding this comment.
I'm confused - how is it that this "fixes" the arguments? It seems to simply wrap each word in quotes, i.e.
shjs test word1 word2 word3
gets mapped into
"word1" "word2" "word3"
|
Hi. That will fix for this kind of example: If you will use something like For example if you would pass the same object to the script without quotes the result in process.argv would be:
|
|
Could you please merge this. I am using it in my project and it works great. |
|
sorry for the delay -- now I get it, merging, thanks! |
Passed process arguments to executable script
|
No worries. Thanks! |
This will allow to pass arguments to executable script from process.argv.