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

Fixes child processes console path #3

Merged
merged 2 commits into from
Nov 7, 2019

Conversation

pitchart
Copy link
Contributor

@pitchart pitchart commented Nov 7, 2019

Fixes #2

Copy link
Collaborator

@theofidry theofidry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! A small nitpick but should be good

@@ -373,7 +373,7 @@ protected function executeMasterProcess(InputInterface $input, OutputInterface $
' ',
array_filter([
self::detectPhpExecutable(),
'bin/console',
realpath(getcwd().'/bin/console'),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This might fail though. Could you assign it to a variable e.g. consoleBin and assert that the result is not false with Assert?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done, with fileExists()

@webmozart
Copy link
Member

Awesome, thanks! :)

@webmozart webmozart merged commit ff12b6b into webmozarts:master Nov 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error when launchin child processes
3 participants