On Tue, 9 Sep 2003 22:07:43 +1000 [EMAIL PROTECTED] (Vema Venkata) wrote: > How do i get the process id into a variable ? > can any one help > > $pid = qx(ps -f|grep srvtst26); > print "Server Started : $pid \n
Try giving a description of your problem in the subject line it helps. The process id is stored in '$$'. There is no need to jump through hoops to get it. Cheers, GL -- Gavin Laking - Web Development Daemon http://www.gavinlaking.co.uk/ -- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]