We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c92b018 commit 5ca0b24Copy full SHA for 5ca0b24
components/process.rst
@@ -418,22 +418,6 @@ instead::
418
);
419
$process->run();
420
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
437
Process Timeout
438
---------------
439
0 commit comments