commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Siegfried Goeschl (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (EXEC-73) WinNTCommandLauncher shouldn't handleQuoting when rebuilding the command
Date Mon, 11 Jan 2016 20:36:39 GMT

    [ https://issues.apache.org/jira/browse/EXEC-73?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15092643#comment-15092643
] 

Siegfried Goeschl commented on EXEC-73:
---------------------------------------

The patch of EXEC-95 would also solve this problem

> WinNTCommandLauncher shouldn't handleQuoting when rebuilding the command
> ------------------------------------------------------------------------
>
>                 Key: EXEC-73
>                 URL: https://issues.apache.org/jira/browse/EXEC-73
>             Project: Commons Exec
>          Issue Type: Bug
>    Affects Versions: 1.1
>            Reporter: St├ęphane Landelle
>            Assignee: Siegfried Goeschl
>   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,
false)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message