Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix findinstances quote handling #224

Merged
merged 4 commits into from
Jan 28, 2018
Merged

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 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.

2 participants