Skip to content

Conversation

iluuu1994
Copy link
Member

The process cmd was broken. We're now also checking that the process output is actually what we expect.

/cc @dstogov

Copy link
Member

@dstogov dstogov left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this.

die("No php executable defined\n");
}
$cmd = 'php -r "fwrite(STDOUT, $in = file_get_contents(\'php://stdin\')); fwrite(STDERR, $in);"';
$cmd = 'php -r "\$in = file_get_contents(\'php://stdin\'); fwrite(STDOUT, \$in); fwrite(STDERR, \$in);"';
Copy link
Member

Choose a reason for hiding this comment

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

I wonder, how this worked before... :(
Also 'php... should be replaced by $php . '...

Copy link
Member Author

Choose a reason for hiding this comment

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

I wonder, how this worked before... :(

Doesn't look like it ever did, there were just no checks.

Also 'php... should be replaced by $php . '...

Right, I missed this!

The process cmd was broken. We're now also checking that the process output is
actually what we expect.
@iluuu1994 iluuu1994 closed this in dd44a93 Apr 13, 2023
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.

2 participants