File tree Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Original file line number Diff line number Diff line change @@ -368,27 +368,6 @@ instead::
368
368
);
369
369
$process->run();
370
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
371
Process Timeout
393
372
---------------
394
373
You can’t perform that action at this time.
0 commit comments