From: Stephen Shirley (diamond at domain skynet.ie)
Date: Thu 25 Jul 2002 - 14:35:14 IST
On Thu, Jul 25, 2002 at 02:31:46PM +0100, Tiarnan O Corrain wrote:
> is there any sure-fire (and easy) way of getting the pid of a process
> that's just been kicked off.
> I want to start a daemon and write its pid to a file in /var/run (or
> somewhere similar). Can I avoid grepping through the process table to
> get this?
% echo $!
-- "Oh look, it's the Pigeon of Love."
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:18:04 GMT