You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2015/09/29 20:08:04 UTC

[jira] [Created] (EXEC-94) CommandLine unconditionally trims arguments

Sebb created EXEC-94:
------------------------

             Summary: CommandLine unconditionally trims arguments
                 Key: EXEC-94
                 URL: https://issues.apache.org/jira/browse/EXEC-94
             Project: Commons Exec
          Issue Type: Bug
            Reporter: Sebb


The CommandLine private Argument class unconditionally trims argument values. This is wrong; it should be possible to pass arguments as-is to the executor.

Fixing this unilaterally might break some code, so it is probably necessary to introduce a new method, for example:

addRawArgument(String)

This should save the exact argument without trimming and without quoting.



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