Skip to content

Conversation

@kastiglione
Copy link
Contributor

Chisel defaults to using shlex for splitting the command line. This is useful for arguments that contain spaces, the command line can be written with quotes around those arguments. But this behavior is a problem for for arguments using literal quotes, which can happen with findinstances. For example findinstances NSDictionary any @allKeys == "someKey".

This change allows commands to override command line splitting, for the cases where shlex is not desired.

Dave Lee added 2 commits January 27, 2018 14:50
This allows subclasses to override how the command line is split. This is
necessary for commands that need to preserve quotes.
@kastiglione kastiglione force-pushed the findinstances-quote-handling branch from 96b753d to 07fb3d2 Compare January 28, 2018 07:05
@kastiglione kastiglione merged commit a89123b into master Jan 28, 2018
@kastiglione kastiglione deleted the findinstances-quote-handling branch January 28, 2018 07:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants