Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[WCM] Documentation for setProcessPipes()#3303

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
vektah wants to merge2 commits intosymfony:masterfromvektah:master

Conversation

vektah
Copy link

QA
Doc fix?no
New docs?yes (symfony/symfony#9726 )
Applies to2.5+
Fixed tickets-

| Q             | A| ------------- | ---| Doc fix?      | no| New docs?     | yes| Applies to    | 2.4| Fixed tickets | 9007
vektah pushed a commit to vektah/symfony that referenced this pull requestDec 9, 2013
Currently processes that output large amounts of data will block. Ifthe output is not important then this becomes an issue. It can be workedaround by redirecting the output to > /dev/null but this requires aninstance of /bin/sh to do the work.This patch adds the ability to set the processPipes, and a newprocessPipe that redirects to /dev/null.| Q             | A| ------------- | ---| Bug fix?      | no| New feature?  | yes| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |symfony#9007| License       | MIT| Doc PR        |symfony/symfony-docs#3303
@wouterj
Copy link
Member

FYI, I added [WCM] to your title, which means Waiting Code Merge.

@@ -257,6 +257,24 @@ When running a program asynchronously, you can send it posix signals with the
POSIX signals are not available on Windows platforms, please refer to the
`PHP documentation`_ for available signals.

Redirecting output to /dev/null
------------------------------
.. versionadded:: 2.4The ``setProcessPipes`` method was added in Symfony 2.4.
Copy link
Member

Choose a reason for hiding this comment

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

You should have an empty line before this and the text should go on a new line indented by 4 spaces.

Also, this is never going to be in 2.4 as it is already released and no more features will be added in the the 2.4.* serie.

Copy link
Member

Choose a reason for hiding this comment

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

and can you use an API link? (also note using "was introduced in")

The:method:`Symfony\\Component\\Process\\Process::setProcessPipes` method was introducedin Symfony 2.4.

@wouterj
Copy link
Member

Closing as upstream PR was closed in favor ofsymfony/symfony#10425, which is documented in#3664

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@vektah@wouterj

[8]ページ先頭

©2009-2025 Movatter.jp