We're updating the issue view to help you get more done. 

CommandDSL parsing doesn't handle quoted text in command

Description

Even though there is a params() method, you can pass anything into the initial command and functionality such as forEach actually relies on this:

1 command( 'echo "brad wood"' ).run();

The CommandDSL is doing a simple split on spaces which doesn't work with the above example. Use the parser instead to properly account for quotes and such.

Status

Assignee

Brad Wood

Reporter

Brad Wood

Labels

None

Components

Fix versions

Affects versions

4.2.0

Priority

Major