aboutsummaryrefslogtreecommitdiffstats
path: root/process.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-03-29 01:26:23 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-03-29 01:26:23 +0000
commitfcf60d39776acf018eb7d855778f66568eb6d615 (patch)
tree871a083a575ab3855dd7c02b144472e029418fba /process.c
parentb9ad698c8711ddb10e812b809522a865e4175718 (diff)
downloadruby-fcf60d39776acf018eb7d855778f66568eb6d615.tar.gz
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
Diffstat (limited to 'process.c')
-rw-r--r--process.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/process.c b/process.c
index 68a3197909..6cba2dd72e 100644
--- a/process.c
+++ b/process.c
@@ -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.