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 410acb6 commit 7be4890Copy full SHA for 7be4890
components/process.rst
@@ -368,27 +368,6 @@ instead::
368
);
369
$process->run();
370
371
-Using a Prepared Command Line
372
------------------------------
373
-
374
-You can run the process by using a a prepared command line using the
375
-double bracket notation. You can use a placeholder in order to have a
376
-process that can only be changed with the values and without changing
377
-the PHP code::
378
379
- use Symfony\Component\Process\Process;
380
381
- $process = Process::fromShellCommandline('echo "$name"');
382
- $process->run(null, ['name' => 'Elsa']);
383
384
-.. caution::
385
386
- A prepared command line will not be escaped automatically!
387
388
-.. versionadded:: 4.4
389
390
- Prepared command lines were introduced in Symfony 4.4.
391
392
Process Timeout
393
---------------
394
0 commit comments