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

[10.x] Standard Input can be applied to PendingProcess #46119

Merged
merged 7 commits into from
Feb 15, 2023

Conversation

peterfox
Copy link
Contributor

Currently, the PendingProcess class doesn't allow for standard input to be passed to the Symfony command created by the Process wrapper.

This change would allow for

Process::input('hello world')->run('pbcopy');

This would result in the text hello world would be made into a standard input for the pbcopy command.

Documentation for Symfony

@taylorotwell taylorotwell merged commit a518fde into laravel:10.x Feb 15, 2023
@peterfox peterfox deleted the feature/process-input branch February 15, 2023 19:11
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.

None yet

2 participants