public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* cygtclsh80 doesn't clean up child processes
@ 1999-09-09 15:33 James Stern
  1999-09-30 23:42 ` James Stern
  0 siblings, 1 reply; 2+ messages in thread
From: James Stern @ 1999-09-09 15:33 UTC (permalink / raw)
  To: cygwin

Under Cygwin B20:

   $ cygtclsh80
   % puts [exec ls]
   % exit

   $ ps

The `ps' command reveals that `ls' is still running. 
Worse, it's a zombie (parent process id = -1) so I
can't kill it.

When enough zombies accumulate, Cygwin won't let me do
anything more.  Does anyone have a zombie killer?

Sadly, the `signal' command is TclX and hence is not
available inside `cygtclsh80'.  Otherwise I would have
tried:

	$ cygtclsh80
	% signal trap SIGCHLD {[wait]};	# Untested
	% puts [exec ls]
	% exit
 
===
-- 
Opinions expressed above are not necessarily my employer's.
James M. Stern
ITG Inc.  Culver City, CA (213) 270-7955
__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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

* cygtclsh80 doesn't clean up child processes
  1999-09-09 15:33 cygtclsh80 doesn't clean up child processes James Stern
@ 1999-09-30 23:42 ` James Stern
  0 siblings, 0 replies; 2+ messages in thread
From: James Stern @ 1999-09-30 23:42 UTC (permalink / raw)
  To: cygwin

Under Cygwin B20:

   $ cygtclsh80
   % puts [exec ls]
   % exit

   $ ps

The `ps' command reveals that `ls' is still running. 
Worse, it's a zombie (parent process id = -1) so I
can't kill it.

When enough zombies accumulate, Cygwin won't let me do
anything more.  Does anyone have a zombie killer?

Sadly, the `signal' command is TclX and hence is not
available inside `cygtclsh80'.  Otherwise I would have
tried:

	$ cygtclsh80
	% signal trap SIGCHLD {[wait]};	# Untested
	% puts [exec ls]
	% exit
 
===
-- 
Opinions expressed above are not necessarily my employer's.
James M. Stern
ITG Inc.  Culver City, CA (213) 270-7955
__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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

end of thread, other threads:[~1999-09-30 23:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-09-09 15:33 cygtclsh80 doesn't clean up child processes James Stern
1999-09-30 23:42 ` James Stern

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).