As I expect, it kills the forked process without executing the command. Can anyone help me with the problem?... $pid = fork() if($pid == 0) { if($command =~ /\&$/) { if(-t STDIN and -t STDOUT) { kill TTOU =>$pid; exec($command); } } else { ... } }
thanks in advance, anna.
In reply to send SIGTTOU to forked process? by anna
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |