On 05/16/2013 07:56 AM, Ido Ran wrote:
ArgumentListBuilder […either puts] quotes around the whole parameter which result in 
"/testcontainer:file with space.dll" which is not good for MSTest

Sounds like MSTest has a nonstandard way of interpreting quotes. Clearly this is Windows-specific since on Unix handling of quotes is done entirely on the caller side, e.g. the shell; in the case of programmatic execution from ProcessBuilder.<init>(String[]) quoting would be redundant. Windows however forces each application to interpret quotes in its own command line, e.g. by reading argv as produced by MSVCRT.

Are there are other Windows applications which accept /option:"some value" but reject "/option:some value"? If this is in fact commonplace, then I guess ArgumentListBuilder should be patched to move the opening quote past anything that appears to be an option name. The standard parser ought to accept either form from what I can tell.

--
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].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to