Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Having trouble kill()ing processes from C code.
@ 1993-04-14 12:46 Wayne Scott
  1993-04-16 22:55 ` Michael Joosten
  0 siblings, 1 reply; 2+ messages in thread
From: Wayne Scott @ 1993-04-14 12:46 UTC (permalink / raw)



Hi Folks:

	I have an X/Motif application from which I allow users to create xterm
windows to access various machines on the LAN.  I do it via fork()/execvp(),
keeping track of the PIDs so I can terminate them when the application is shut
down.  I can NOT terminate the xterm PIDs with kill(pid, SIGTERM); but I CAN
terminate them with kill(pid, SIGKILL).  However, when an rlogin is done from
the xterm, the rlogin is still active AFTER the xterm has been killed.
When I logout of the xterm windows with <ctrl-d>, the xterm AND rlogin go away.
That's EXACTLY what I want, but can't get it to happen from C code.
I noticed that the xterm processes have "root" as the USER.  I don't know if
that's a problem or not.  kill(pid, SIGTERM) worked fine on AIX and on OSF/1
on a DECstation 5000 (if I remember correctly). 
At this point I don't know what the real problem or solution is.
All helpful suggestions are welcome.

Thank you,
Wayne


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1993-04-16 22:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-04-14 12:46 Having trouble kill()ing processes from C code Wayne Scott
1993-04-16 22:55 ` Michael Joosten

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox