Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b0514fa

Browse files
committed
minor #15387 [Process] Remove paragraph from bad merge (nicolas-grekas)
This PR was merged into the 5.2 branch. Discussion ---------- [Process] Remove paragraph from bad merge This paragraph was removed in #12772, yet it's still in the 5.2 branch. (and it's wrong) Commits ------- 5ca0b24 [Process] Remove paragraph from bad merge
2 parents c92b018 + 5ca0b24 commit b0514fa

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

components/process.rst

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -418,22 +418,6 @@ instead::
418418
);
419419
$process->run();
420420

421-
Using a Prepared Command Line
422-
-----------------------------
423-
424-
You can run a process by using a prepared command line with double quote
425-
variable notation. This allows you to use placeholders so that only the
426-
parameterized values can be changed, but not the rest of the script::
427-
428-
use Symfony\Component\Process\Process;
429-
430-
$process = Process::fromShellCommandline('echo "$name"');
431-
$process->run(null, ['name' => 'Elsa']);
432-
433-
.. caution::
434-
435-
A prepared command line will not be escaped automatically!
436-
437421
Process Timeout
438422
---------------
439423

0 commit comments

Comments
 (0)