Path: utzoo!attcan!uunet!cs.utexas.edu!uwm.edu!rpi!usenet From: todd@narnia.ecs.rpi.edu (R. Lindsay Todd) Newsgroups: comp.unix.questions Subject: Using popen from a daemon Message-ID: Date: 27 Jun 90 20:21:08 GMT Distribution: na Organization: ECS, Rensselaer Polytechnic Institute, Troy, NY Lines: 13 I have a program that uses popen and pclose. If the program has a controlling tty, the commands started by popen work correctly. However, if there is no controlling tty, it seems like popen never even starts /bin/sh. Oh yes, this is true under both Ultrix 3.1 and SunOS 4.0.3, the only systems I've been able to try this with. There is nothing in the man pages I have that indicate that popen must have a controlling tty. Is this some unwritten standard "feature" of popen, or is it a buggy implementation? -- R. Lindsay Todd, Systems Programmer ECS, Rensselaer Polytechnic Institute, Troy, NY 12180-3590 Internet: todd@narnia.ecs.rpi.edu