Skip to content

Documenting the non-blocking features of the Process component #2430

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

Merged
merged 1 commit into from
Apr 4, 2013
Merged

Documenting the non-blocking features of the Process component #2430

merged 1 commit into from
Apr 4, 2013

Conversation

Sgoettschkes
Copy link
Contributor

Since 2.1, the Process component has a non-blocking feature. This PR documents the usage.

Q A
Doc fix? no
New docs? yes, symfony/symfony#3681
Applies to 2.1+
Fixed tickets #1185

$process = new Process('ls -lsa');
$process->start();

// do other things
Copy link
Member

Choose a reason for hiding this comment

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

// ... do other things

weaverryan added a commit that referenced this pull request Apr 4, 2013
Documenting the non-blocking features of the Process component
@weaverryan weaverryan merged commit 66b685a into symfony:2.1 Apr 4, 2013
@weaverryan
Copy link
Member

Hey Sebastian!

It looks like you have your second merged PR with absolutely no changes. Great work on this!

Thanks!

@Sgoettschkes Sgoettschkes deleted the issue1185 branch April 4, 2013 04:08
@@ -26,15 +26,16 @@ a command in a sub-process::
$process = new Process('ls -lsa');
$process->setTimeout(3600);
$process->run();

// executes after the the command finishes
Copy link
Member

Choose a reason for hiding this comment

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

duplicate the.
@weaverryan a change was needed...

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.

4 participants