Skip to content

Revert "feature #24763 [Process] Allow writing portable "prepared" command lines (Simperfit)" #26372

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

Merged
merged 1 commit into from
Mar 5, 2018

Conversation

nicolas-grekas
Copy link
Member

@nicolas-grekas nicolas-grekas commented Mar 2, 2018

Q A
Branch? master
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets -
License MIT
Doc PR -

This reverts commit 1364089, reversing
changes made to e043478.

As discussed in #24763 and #26344

This doens't revert the possibility to use prepared command lines. They just won't be portable anymore, unless special care is taken by "userland".
Ie the placeholders need to be shell-dependent: use eg echo "$FOO" on *nix (the double quotes are important), and echo !FOO! on Windows (no double quotes there).

…red" command lines (Simperfit)"

This reverts commit 1364089, reversing
changes made to e043478.
@fabpot
Copy link
Member

fabpot commented Mar 5, 2018

Thank you @nicolas-grekas.

@fabpot fabpot merged commit 6a98bfa into symfony:master Mar 5, 2018
fabpot added a commit that referenced this pull request Mar 5, 2018
…e "prepared" command lines (Simperfit)" (nicolas-grekas)

This PR was merged into the 4.1-dev branch.

Discussion
----------

Revert "feature #24763 [Process] Allow writing portable "prepared" command lines (Simperfit)"

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

This reverts commit 1364089, reversing
changes made to e043478.

As discussed in #24763 and #26344

This doens't revert the possibility to use prepared command lines. They just won't be *portable* anymore, unless special care is taken by "userland".
Ie the placeholders need to be shell-dependent: use eg `echo "$FOO"` on *nix (the double quotes *are* important), and `echo !FOO!` on Windows (no double quotes there).

Commits
-------

6a98bfa Revert "feature #24763 [Process] Allow writing portable "prepared" command lines (Simperfit)"
@nicolas-grekas nicolas-grekas deleted the proc-revert-prep branch March 11, 2018 11:10
@fabpot fabpot mentioned this pull request May 7, 2018
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.

3 participants