@@ -97,15 +97,15 @@ with a non-zero code)::
97
97
echo $exception->getMessage();
98
98
}
99
99
100
- Using features from the OS shell
100
+ Using Features From the OS Shell
101
101
--------------------------------
102
102
103
103
.. versionadded :: 4.2
104
104
The ``fromShellCommandline() `` static method was introduced in Symfony 4.2.
105
105
106
106
Using array of arguments is the recommended way to define commands. This
107
107
saves you from any escaping and allows sending signals seamlessly
108
- (e.g. to stop processes before completion. )::
108
+ (e.g. to stop processes before completion)::
109
109
110
110
$process = new Process(array('/path/command', '--flag', 'arg 1', 'etc.'));
111
111
@@ -115,10 +115,10 @@ commands as strings using the
115
115
:method: `Symfony\\ Component\\ Process\\ Process::fromShellCommandline ` static
116
116
factory.
117
117
118
- Please note that each OS provides a different syntax for their command-lines
119
- so that it becomes your responsibility to deal with escaping and portability.
118
+ Each operating system provides a different syntax for their command-lines,
119
+ so it becomes your responsibility to deal with escaping and portability.
120
120
121
- To provide any variable arguments to command-line string, pass them as
121
+ When using strings to define commands, variable arguments are passed as
122
122
environment variables using the second argument of the ``run() ``,
123
123
``mustRun() `` or ``start() `` methods. Referencing them is also OS-dependent::
124
124
0 commit comments