Process.daemon() â 0
Process.daemon(nochdir=nil,noclose=nil) â 0
Process.daemon(nochdir=nil,noclose=nil) â 0
Class Public methods
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 /dev/null. Return zero on success, or raise one of Errno::*.
Please login to continue.