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

Process: callbacks now allowed when output disabled #6648

Merged
merged 1 commit into from
Jun 20, 2016
Merged

Process: callbacks now allowed when output disabled #6648

merged 1 commit into from
Jun 20, 2016

Conversation

avindra
Copy link
Contributor

@avindra avindra commented Jun 10, 2016

This is a recent change in 3.1 added by @romainneutron

Callbacks are allowed even if output is disabled

Related issue: symfony/symfony#17427

``setIdleTimeout``.

However, it is possible to pass a callback to the ``start``, ``run`` or ``mustRun``
methods to handle process output in a streaming fashion.
Copy link
Member

Choose a reason for hiding this comment

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

Can you add a little versionadded block below this?

.. versionadded:: 3.1
    The ability to pass a callback to these methods when output is disabled was added in Symfony 3.1.

Thanks!

@weaverryan
Copy link
Member

This looks great, other than we just need one small addition that I commented on.

Status: Needs Work

This is a recent change in 3.1 added by @romainneutron

Callbacks are allowed even if output is disabled
@avindra
Copy link
Contributor Author

avindra commented Jun 12, 2016

Updated PR

@wouterj
Copy link
Member

wouterj commented Jun 12, 2016

👍 A little note: The versionadded directive should be indented with 4 spaces, so it'll be part of the .. caution:: directive and "these" will make more sense. But we can do that during the merge.

Status: Reviewed

@javiereguiluz
Copy link
Member

👍

@xabbuh xabbuh merged commit 687b915 into symfony:3.1 Jun 20, 2016
xabbuh added a commit that referenced this pull request Jun 20, 2016
…indra)

This PR was merged into the 3.1 branch.

Discussion
----------

Process: callbacks now allowed when output disabled

This is a recent change in 3.1 added by @romainneutron

Callbacks are allowed even if output is disabled

Related issue: symfony/symfony#17427

Commits
-------

687b915 Process: callbacks now allowed when output disabled
xabbuh added a commit that referenced this pull request Jun 20, 2016
@xabbuh
Copy link
Member

xabbuh commented Jun 20, 2016

Thank you @avindra!

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.

None yet

6 participants