AbstractCmdlineEncoderEngine#buildArgumentList() for command line does not respect quoted args

Steps to reproduce

Steps to reproduce:

consider command line statement with two args:
echo -n "Hello World"

Actual Results:

AbstractCmdlineEncoderEngine#buildArgumentList() will return the list:
"-n"
"\"Hello"
"World\""

Expected Results:

AbstractCmdlineEncoderEngine#buildArgumentList() should return the list:
"-n"
"Hello World"

Workaround (if any):

None that I can see. You can't escape the space with a back-slash.

Status

Assignee

John Crossman

Reporter

John Crossman

Severity

Incorrectly Functioning Without Workaround

Tags (folksonomy)

Time tracking

45m

Components

Fix versions

Affects versions

1.4.0

Priority

Major