+ "Petr Novotny" <[EMAIL PROTECTED]>:

| #!/bin/sh
| exec env - PATH=... tcpserver -v ... rblsmtpd qmail-smtpd 2>&1 
| |setuser qmaill accustamp|setuser qmaill cyclog ...
| 
| 
| I though the initial "exec" in the shell script should get rid of the 
| shell process. I must be missing something obvious but if I only 
| knew what... Please suggest.

When sh runs a pipeline, every part of a pipeline runs in a subshell.
It is for reasons like this I wrote my pipe program:

  <URL:http://www.math.ntnu.no/~hanche/prog/pipe/>

- Harald

Reply via email to