On 2016-05-31 15:12, Allan Odgaard wrote:
> You need to also close stdout/err, example:
>
>      pid = fork do
>        STDOUT.reopen(open('/dev/null', 'w'))
>        STDERR.reopen(open('/dev/null', 'w'))
>
>        sleep 5
>      end
>      Process.detach(pid)
Ah, that worked. Thanks.
-- 
/Jacob Carlborg