Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!brutus.cs.uiuc.edu!uakari.primate.wisc.edu!aplcen!haven!uvaarpa!mmdf From: kayvan@mrspoc.transact.com (Kayvan Sylvan) Newsgroups: comp.lang.perl Subject: fork() and wait() Message-ID: <2641@uvaarpa.virginia.edu> Date: 17 Feb 90 03:18:15 GMT Sender: mmdf@uvaarpa.virginia.edu Reply-To: kayvan@mrspoc.transact.com Lines: 19 Looking at eval.c, it seems that the perl's wait() ignores certain signals. I don't think this is correct behavior. I have an application where I want to spawn a subprocess (which setpgrp()'s and goes about its merry way) and at the same time I want the parent to wait() for the child to finish. Now, if I want to interrupt the parent, I should be able to (without killing the child, so system() will not do). Is there anything wrong with commenting out the signal(SIGINT, SIG_IGN) and the other SIG_IGN line in the O_WAIT case in eval.c?? Why are they there in the first place? ---Kayvan | Kayvan Sylvan @ Transact Software, Inc. -*- Los Altos, CA (415) 961-6112 | | Internet: kayvan@{mrspoc.Transact.com, eris.berkeley.edu, net.bio.net} | | UUCP: ...!{apple,pyramid,bionet,mips}!mrspoc!kayvan "No space for saying" |