-
Notifications
You must be signed in to change notification settings - Fork 65
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
Forward PATH to child processes #24
Conversation
Sorry for the late reply, I was on holiday... |
Windows and |
All tests fail with that same message. Sounds like it tries to execute "bin" as a command, not sure why and I don't really have the motivation to debug this right now.. Have you tried it on windows at all? :) |
@Seldaek without the -c option, the default command is for Windows you need to change that to so try with ill make a PR with a fix for that |
|
Seems like that is a similar issue to what I was having when I created this PR :) |
Well.. sorry but I don't think I should have to tweak my variable_order to make this work. It's just not nice user experience :) |
@Seldaek fastest uses Without |
Actually no, EGPCS is the default if not specified, but php.ini-production and php.ini-development in php7 both ship without E.
proc_open's |
@Seldaek fastest needs to add some custom ENV variables per process (so it cannot set them in the ENV) and the part responsible for this is Process/EnvCommandCreator.php#L16 To also include current process ENV variables it uses |
Hmm ok.. you could probably just use putenv() to set your new env vars and then use null to forward it all though? |
Hi
for the first maybe just adding the for the second I'm not a Windows user but maybe if is well configured we could just leave |
/c @loostro |
@Seldaek sounds good, i'll test that |
Should be fixed by #58. |
Reopening, as #58 has been reverted due to some unexpected side effects. |
2d76843
to
b1cadad
Compare
This PR can be closed, because already fixed. |
@francoispluchino have you tested it? |
Yes, and it's tested in the |
Thank you |
Without this I can't get it to run at all, as it doesn't find php or phpunit or any command I give it. Not sure if it's the correct fix..