One of the frustrating areas when sending commands to a shell is how 
Jenkins handles quotes. If one of your arguments has a " in it, using 
ArgumentListBuilder, the whole string gets wrapped in '. If you don't have 
", then the result gets wrapped in ". Is there any good practice to force a 
situation where you are generating /bin/sh -c 'stuff' regardless of what is 
in stuff. I suspect that this is actually in Launcher.ProcStarter and the 
way it processes arguments. Pretty frustrating.

The key problem is that some of the arguments may have $ in the front, but 
that doesn't mean shell variables where I am working and I don't have much 
control here.

Any advice?

Thanks,
Randall

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/a31a2160-e36a-44aa-922e-fcc48f7ff249%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to