This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

cygtclsh80 doesn't clean up child processes


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]