commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stéphane Landelle (JIRA) <>
Subject [jira] [Closed] (EXEC-74) WinNTCommandLauncher shouldn't handleQuoting when rebuilding the command
Date Thu, 04 Apr 2013 10:59:15 GMT


Stéphane Landelle closed EXEC-74.

    Resolution: Duplicate
> WinNTCommandLauncher shouldn't handleQuoting when rebuilding the command
> ------------------------------------------------------------------------
>                 Key: EXEC-74
>                 URL:
>             Project: Commons Exec
>          Issue Type: Bug
>    Affects Versions: 1.1
>            Reporter: Stéphane Landelle
>   Original Estimate: 1m
>  Remaining Estimate: 1m
> One can use CommandLine.addArgument(argument, false) to disable quote handling (in my
use case, the argument is already properly quoted addArgument(argument, true) just messes
it up).
> The problem is that WinNTCommandLauncher recreates the command if the working dir is
not null, and in this case forces quoting.
> IMHO, WinNTCommandLauncher should simply assume that the CommandLine has been properly
built upstream, and should not try to quote/requote the arguments, and use addArguments(arguments,

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message