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

Appearance settings

Commit 5ca0b24

Browse filesBrowse files
[Process] Remove paragraph from bad merge
1 parent c92b018 commit 5ca0b24
Copy full SHA for 5ca0b24

File tree

1 file changed

+0
-16
lines changed
Filter options

1 file changed

+0
-16
lines changed

‎components/process.rst

Copy file name to clipboardExpand all lines: components/process.rst
-16Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.