> -----Original Message----- > From: Alex Harris [mailto:[EMAIL PROTECTED]] > Sent: Monday, January 14, 2002 1:47 PM > To: [EMAIL PROTECTED] > Subject: forkit > > > > > I had the following in my program. > `rsh $plant /u1/bin/forkit "/u1/bin/zwork.pl"` > and it wouldn't let go until the second program completed. > so I tried > system("rsh $plant /u1/bin/forkit '/u1/bin/zwork.pl'" > and still it won't let go. How do I fix this?
Both backticks and system wait for the child process to complete. You need to fork and exec. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]