Skip to content

Commit f6a3bca

Browse files
committed
Minor reword
1 parent db13bd9 commit f6a3bca

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

components/process.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,15 +97,15 @@ with a non-zero code)::
9797
echo $exception->getMessage();
9898
}
9999

100-
Using features from the OS shell
100+
Using Features From the OS Shell
101101
--------------------------------
102102

103103
.. versionadded:: 4.2
104104
The ``fromShellCommandline()`` static method was introduced in Symfony 4.2.
105105

106106
Using array of arguments is the recommended way to define commands. This
107107
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)::
109109

110110
$process = new Process(array('/path/command', '--flag', 'arg 1', 'etc.'));
111111

@@ -115,10 +115,10 @@ commands as strings using the
115115
:method:`Symfony\\Component\\Process\\Process::fromShellCommandline` static
116116
factory.
117117

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.
120120

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
122122
environment variables using the second argument of the ``run()``,
123123
``mustRun()`` or ``start()`` methods. Referencing them is also OS-dependent::
124124

0 commit comments

Comments
 (0)