summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2023-07-31 23:24:45 +0900
committerNobuyoshi Nakada <[email protected]>2023-08-01 01:47:19 +0900
commit8b390a456ce7dc7ef942a8a2cfba2a944c3d25bd ()
treee7258a30875064bf5c56cbbc6a4f0d754199e07a
parent547d2378acca6ee376a9f1b0a619c919e834b3cb (diff)
[DOC] Update description of `Process.daemon` arguments
These arguments can only be `true` or `false` now. Also add markups.
-rw-r--r--process.c13
1 files changed, 6 insertions, 7 deletions
@@ -6830,13 +6830,12 @@ static int rb_daemon(int nochdir, int noclose);
* Process.daemon() -> 0
* Process.daemon(nochdir=nil,noclose=nil) -> 0
*
- * Detach the process from controlling terminal and run in
- * the background as system daemon. Unless the argument
- * nochdir is true (i.e. non false), it changes the current
- * working directory to the root ("/"). Unless the argument
- * noclose is true, daemon() will redirect standard input,
- * standard output and standard error to null device.
- * Return zero on success, or raise one of Errno::*.
*/
static VALUE