https://bz.apache.org/bugzilla/show_bug.cgi?id=58626

--- Comment #26 from Christopher Schultz <ch...@christopherschultz.net> ---
(In reply to Mark Thomas from comment #22)
> CATALINA_PID works as expected

I was skeptical. My quick test:

$ nohup sleep 100 &
[1] 9556

$ echo $!
9556
$ ps aux | grep sleep
chris            9559   0.0  0.0  2457368    880 s001  S+    6:30AM   0:00.00
grep sleep
chris            9556   0.0  0.0  2434824    664 s001  S     6:30AM   0:00.00
sleep 100

$! returns 9556, the pid of the 'sleep' process.

I haven't looked at the code for, say, GNU nohup, but I suspect it's used often
enough in this type of situation that use of exec() is almost certainly
required to make it useful.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to