process.c: [DOC] fix markups [ci skip]

* process.c (rb_f_spawn): fix markups as rdoc.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2019-03-29 01:26:23 +00:00
Родитель b9ad698c87
Коммит fcf60d3977
1 изменённых файлов: 8 добавлений и 7 удалений

Просмотреть файл

@ -4594,13 +4594,14 @@ rb_f_system(int argc, VALUE *argv)
* current directory:
* :chdir => str
*
* The 'cmdname, arg1, ...' form does not use the shell. However,
* on different OSes, different things are provided as built-in
* commands. An example of this is 'echo', which is a built-in
* on Windows, but is a normal program on Linux and Mac OS X.
* This means that `Process.spawn 'echo', '%Path%'` will display
* the contents of the `%Path%` environment variable on Windows,
* but `Process.spawn 'echo', '$PATH'` prints the literal '$PATH'.
* The <code>'cmdname, arg1, ...'</code> form does not use the shell.
* However, on different OSes, different things are provided as
* built-in commands. An example of this is +'echo'+, which is a
* built-in on Windows, but is a normal program on Linux and Mac OS X.
* This means that <code>Process.spawn 'echo', '%Path%'</code> will
* display the contents of the <tt>%Path%</tt> environment variable
* on Windows, but <code>Process.spawn 'echo', '$PATH'</code> prints
* the literal <tt>$PATH</tt>.
*
* If a hash is given as +env+, the environment is
* updated by +env+ before <code>exec(2)</code> in the child process.