Re: Application Log out script

From: Raj Ramakrishnan (RRamakri@MTABT.ORG)
Date: Wed Oct 30 2002 - 14:02:58 EST


Thanks

>>> schafer@TKG.COM 10/30/02 01:18PM >>>
If you put it in the background from .profile, you can assign a
variable that contains the PID of the process and then you can set up
a trap that for exit or HUP you can kill the process. To get the PID
   if a background process into a variable called NTSCPPID, do this:
netscape&
NTSCPPID=$!

To set up a trap on exit, HUP, INT, or QUIT do this in .profile:
trap 'kill $NTSCPPID' 0 1 2 3

-----Original Message-----
From: Raj Ramakrishnan [mailto:RRamakri@MTABT.ORG]
Sent: Wednesday, October 30, 2002 11:55 AM
To: aix-l@Princeton.EDU
Subject: Application Log out script

Hi All
I am calling Netscape browser from .profile, How can I configure we
close the Netscape browser user should logout from the system.

Thanks
Raj



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:18 EDT