Skip to content

Conversation

@JKetelaar
Copy link

Example output before change:

/usr/local/bin/php /Users/ketelaar/Projects/My Project/bin/console 

This basically means you are executing /Users/ketelaar/Projects/My with php

Example output after change:

/usr/local/bin/php /Users/ketelaar/Projects/My\ Project/bin/console 

*Example output before change:*
```
/usr/local/bin/php /Users/ketelaar/Projects/My Project/bin/console 
```
This basically means you are executing `/Users/ketelaar/Projects/My` with php

Example output after change:
```
/usr/local/bin/php /Users/ketelaar/Projects/My\ Project/bin/console 
```
@scrutinizer-notifier
Copy link

The inspection completed: 1 new issues

@JKetelaar
Copy link
Author

@gavinlove Bump

@gavinlove
Copy link
Member

Although this fixes the problem you have I don't think it is the right solution. I am going to look into escapeshellarg instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants