ruby-changes:55163
From: nobu <ko1@a...>
Date: Fri, 29 Mar 2019 10:26:27 +0900 (JST)
Subject: [ruby-changes:55163] nobu:r67370 (trunk): process.c: [DOC] fix markups [ci skip]
nobu 2019-03-29 10:26:23 +0900 (Fri, 29 Mar 2019) New Revision: 67370 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=67370 Log: process.c: [DOC] fix markups [ci skip] * process.c (rb_f_spawn): fix markups as rdoc. Modified files: trunk/process.c Index: process.c =================================================================== --- process.c (revision 67369) +++ process.c (revision 67370) @@ -4594,13 +4594,14 @@ rb_f_system(int argc, VALUE *argv) https://github.com/ruby/ruby/blob/trunk/process.c#L4594 * 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. -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/