From 5ca0b2497da5a892a7fe9e5e549017f20f611f59 Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Sat, 29 May 2021 17:34:19 +0200 Subject: [PATCH] [Process] Remove paragraph from bad merge --- components/process.rst | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/components/process.rst b/components/process.rst index b0c5bc4c5b6..1182b1c32a1 100644 --- a/components/process.rst +++ b/components/process.rst @@ -418,22 +418,6 @@ instead:: ); $process->run(); -Using a Prepared Command Line ------------------------------ - -You can run a process by using a prepared command line with double quote -variable notation. This allows you to use placeholders so that only the -parameterized values can be changed, but not the rest of the script:: - - use Symfony\Component\Process\Process; - - $process = Process::fromShellCommandline('echo "$name"'); - $process->run(null, ['name' => 'Elsa']); - -.. caution:: - - A prepared command line will not be escaped automatically! - Process Timeout ---------------