Skip to content

Conversation

joelwurtz
Copy link
Contributor

Q A
Branch? 5.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets /
License MIT
Doc PR /

While checking a process to end, on posix system, process component only checks if pipes are still open, this fix ensure that if the process is terminated it correctly return, even if the underlying pipe is not closed.

It can be useful when using \STDIN as a input stream as it will always be open

…is not closed:

While checking a process to end, on posix system, process component only checks if pipes are still open, this fix
ensure that if the process is terminated it correctly return, even if the underlying pipe is not closed.

It can be useful when using \STDIN as a input stream as it will always be open
@nicolas-grekas
Copy link
Member

Thank you @joelwurtz.

@nicolas-grekas nicolas-grekas merged commit 8c5f5ae into symfony:5.4 May 18, 2023
This was referenced May 22, 2023
@joelwurtz joelwurtz deleted the fix/allow-not-terminated-input-for-process branch August 14, 2023 20:13
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.

3 participants