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.#11802

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:4.4fromSimperfit:patch-8

Conversation

@Simperfit
Copy link
Contributor

@SimperfitSimperfit commentedJun 21, 2019
edited by OskarStark
Loading

This documents the re-pushed prepared command line with a new style of writing it that does not break anything.

symfony/symfony#32126

$process->run();

Using a Prepared Command Line
--------------------------------
Copy link
Member

Choose a reason for hiding this comment

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

should the same length as the title itself to be valid

OskarStark reacted with thumbs up emoji
Using a Prepared Command Line
--------------------------------

This component also provides a way to use the process command with prepared using the double brackets notations:
Copy link
Member

Choose a reason for hiding this comment

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

missing word afterwith prepared

OskarStark reacted with thumbs up emoji
Copy link
Member

Choose a reason for hiding this comment

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

double bracket notation

OskarStark reacted with thumbs up emoji
--------------------------------

This component also provides a way to use the process command with prepared using the double brackets notations:
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
Member

Choose a reason for hiding this comment

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

use a placeholder?

OskarStark reacted with thumbs up emoji
Copy link
Member

Choose a reason for hiding this comment

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

PHP

OskarStark reacted with thumbs up emoji
fabpot added a commit to symfony/symfony that referenced this pull requestJun 26, 2019
…nes (Simperfit)This PR was merged into the 4.4 branch.Discussion----------[Process] Allow writing portable "prepared" command lines| Q             | A| ------------- | ---| Branch?       | 4.4| Bug fix?      | no| New feature?  | yes <!-- please update src/**/CHANGELOG.md files -->| BC breaks?    | no     <!-- seehttps://symfony.com/bc -->| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->| Fixed tickets |#23778  <!-- #-prefixed issue number(s), if any -->| License       | MIT| Doc PR        |symfony/symfony-docs#11802 <!-- required for new features -->Hey here, it's me, again !I've talked with@nicolas-grekas and he gave me a new way of writing this feature that will not be a problem for people using things like {{ toto }} since we are using the linux style of using envvar, the replaced arguments is only replaced when using windows.This should not break anything and work as expected!see#24763This makes `"$FOO"` work seamlessly on Linux and on Windows to reference an env var (that can be provided when calling e.g. the "run" method)Commits-------3f8354f [Process] Allow writing portable "prepared" command lines
@OskarStarkOskarStark added this to the4.4 milestoneAug 1, 2019
@OskarStark
Copy link
Contributor

OskarStark commentedAug 1, 2019
edited
Loading

@Simperfit do you find some time to finish this PR? 😃

Note for the mergers, this must go in4.4 branch

@Simperfit
Copy link
ContributorAuthor

Ill do it asap ;)

OskarStark reacted with heart emoji

@OskarStarkOskarStark changed the base branch frommaster to4.4August 15, 2019 10:03
@OskarStark
Copy link
Contributor

OskarStark commentedAug 15, 2019
edited
Loading

Thanks for your work on this new feature!
I applied the comments and made some changes while merging (531e1d0)

Cheers 😃

Simperfit reacted with heart emoji

OskarStark added a commit to OskarStark/symfony-docs that referenced this pull requestAug 15, 2019
OskarStark added a commit that referenced this pull requestAug 15, 2019
* 4.4:  Tweaks#11802  [Process] allow writing "prepared" command line.
@SimperfitSimperfit deleted the patch-8 branchAugust 16, 2019 11:12
@Simperfit
Copy link
ContributorAuthor

Thanks@OskarStark

OskarStark reacted with thumbs up emoji

Using a Prepared Command Line
--------------------------------

This component also provides a way to use the process command with prepared using the double brackets notations:
Copy link
Member

Choose a reason for hiding this comment

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

What does "double bracket notation" mean?

nicolas-grekas added a commit to nicolas-grekas/symfony-docs that referenced this pull requestDec 5, 2019
…and line. (Simperfit)"This reverts commita316cd5, reversingchanges made tocdc0bb7.
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@OskarStarkOskarStarkOskarStark left review comments

@xabbuhxabbuhxabbuh left review comments

@fabpotfabpotfabpot requested changes

Assignees

No one assigned

Projects

None yet

Milestone

4.4

Development

Successfully merging this pull request may close these issues.

5 participants

@Simperfit@OskarStark@fabpot@xabbuh@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp