Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site pluto.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!decvax!decwrl!pyramid!pesnta!phri!pluto!warren From: warren@pluto.UUCP (Warren Burstein) Newsgroups: net.unix-wizards Subject: Help please: process stuck on pty Message-ID: <204@pluto.UUCP> Date: Tue, 3-Dec-85 23:37:25 EST Article-I.D.: pluto.204 Posted: Tue Dec 3 23:37:25 1985 Date-Received: Sat, 7-Dec-85 03:11:58 EST Organization: Industrial Automation Systems Inc., New York, N.Y. Lines: 9 In playing around with child processes connected to a parent thru ptys, sometimes the children survive the parent. When this happens, and I try to open the pty next time thru, the open("/dev/pty??", 2) call hangs. I didn't see anything about this in pty(4) but from reading the source to script(1) it seems to me that if a pty is in use open will fail, not hang. What am I doing wrong here? Also, is there some way to ensure that children don't survive the parent? thanks