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

[Console][WebServerBundle] Use "exec" when possible#23686

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

Merged
fabpot merged 1 commit intosymfony:3.3fromnicolas-grekas:server-stop-fix
Jul 27, 2017

Conversation

@nicolas-grekas
Copy link
Member

QA
Branch?3.3
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets#23568
LicenseMIT
Doc PR-

szymach reacted with thumbs up emoji
"require": {
"php":">=5.5.9",
"symfony/console":"~2.8.8|~3.0.8|~3.1.2|~3.2",
"symfony/console":"~3.3",
Copy link
MemberAuthor

Choose a reason for hiding this comment

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

there is no need to keep pre-3.3 deps for 3.3-introduced bundles IMHO, that makes things easier

@robfrawley
Copy link
Contributor

robfrawley commentedJul 26, 2017
edited
Loading

Confirming this PR does indeed fix the inability to properly kill the web server process via theserver:stop console command, as originally reported in#23568.

$builder->setTimeout(null);
$process =newProcess(array($binary,'-S',$config->getAddress(),$config->getRouter()));
$process->setWorkingDirectory($config->getDocumentRoot());
$process->setTimeout(null);
Copy link
Member

@chalasrchalasrJul 26, 2017
edited
Loading

Choose a reason for hiding this comment

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

return new Process(array($binary, '-S', $config->getAddress(), $config->getRouter()), $config->getDocumentRoot(), null, null); btw?

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

More readable as is to me.

Copy link
Member

Choose a reason for hiding this comment

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

right!

@fabpot
Copy link
Member

Thank you@nicolas-grekas.

@fabpotfabpot merged commit7b6d894 intosymfony:3.3Jul 27, 2017
fabpot added a commit that referenced this pull requestJul 27, 2017
…as-grekas)This PR was merged into the 3.3 branch.Discussion----------[Console][WebServerBundle] Use "exec" when possible| Q             | A| ------------- | ---| Branch?       | 3.3| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#23568| License       | MIT| Doc PR        | -Commits-------7b6d894 [Console][WebServerBundle] Use "exec" when possible
@nicolas-grekasnicolas-grekas deleted the server-stop-fix branchJuly 28, 2017 16:42
@fabpotfabpot mentioned this pull requestAug 1, 2017
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@chalasrchalasrchalasr approved these changes

@fabpotfabpotfabpot approved these changes

@xabbuhxabbuhxabbuh approved these changes

+1 more reviewer

@ogizanagiogizanagiogizanagi approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

3.3

Development

Successfully merging this pull request may close these issues.

7 participants

@nicolas-grekas@robfrawley@fabpot@xabbuh@ogizanagi@chalasr@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp