| ||||||
| 5/19 |
| 2001/10/11-12 [Computer/SW/Languages/Misc] UID:22687 Activity:nil |
10/10 Is there any quick "script starter" that will daemonize a process
and return its PID? I'm looking for something like
% pid=`start foo [args...]`
(foo starts running in the background)
% kill -9 $pid
\_ foo [args...] & pid=$!
\_ foo [args...] & pid=$! # sh
\_ foo [args...] & set pid=$! # csh |