diff --git a/Process.php b/Process.php index 4db379fa..92771594 100644 --- a/Process.php +++ b/Process.php @@ -176,7 +176,7 @@ public function __construct(array $command, string $cwd = null, array $env = nul * In order to inject dynamic values into command-lines, we strongly recommend using placeholders. * This will save escaping values, which is not portable nor secure anyway: * - * $process = Process::fromShellCommandline('my_command "$MY_VAR"'); + * $process = Process::fromShellCommandline('my_command "${:MY_VAR}"'); * $process->run(null, ['MY_VAR' => $theValue]); * * @param string $command The command line to pass to the shell of the OS