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

[Process] allow writing "prepared" command line.#9295

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
Simperfit wants to merge1 commit intosymfony:masterfromSimperfit:patch-4

Conversation

@Simperfit
Copy link
Contributor

theofidry reacted with heart emoji
dunglas added a commit to symfony/symfony that referenced this pull requestFeb 19, 2018
…nes (Simperfit)This PR was merged into the 4.1-dev branch.Discussion----------[Process] Allow writing portable "prepared" command lines| Q             | A| ------------- | ---| Branch?       | 4.1| Bug fix?      | no| New feature?  | yes| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#23778| License       | MIT| Doc PR        |symfony/symfony-docs#9295This give the opportunity to create process commands that allow to changes only the values instead of changing the code.Commits-------d1e4f48 [Process] Allow writing portable "prepared" command lines
$process = new Process('/usr/bin/php {{ phpFile }}');
$process->run(null, array('phpFile' => 'worker.php'));

Which means that you can use placeholder in order to have a process that can be changed only with the values and without changing the php code.
Copy link
Contributor

Choose a reason for hiding this comment

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

it should be noted whether the user of this api is still responsible to escape the passed in data or whether the console component will take care of escaping (e.g.> character or similar)

sstok reacted with thumbs up emoji
@javiereguiluzjaviereguiluz added the Waiting Code MergeDocs for features pending to be merged labelMar 5, 2018
@Simperfit
Copy link
ContributorAuthor

We need to rework the feature, so this is not relevant anymore.

@SimperfitSimperfit deleted the patch-4 branchMarch 6, 2018 11:29
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

1 more reviewer

@staabmstaabmstaabm left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

ProcessStatus: Needs ReviewWaiting Code MergeDocs for features pending to be merged

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@Simperfit@staabm@javiereguiluz@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp