in reply to Re: How to avoid to launch a unix shell script in a perl script
in thread How to avoid to launch a unix shell script in a perl script

The script run on unix; the cmd_proc_shell has to be launched on background otherwise the command wait a CTRL-C. I don't need to capture the output nor the error code.
  • Comment on Re^2: How to avoid to launch a unix shell script in a perl script

Replies are listed 'Best First'.
Re^3: How to avoid to launch a unix shell script in a perl script
by moritz (Cardinal) on May 06, 2008 at 10:11 UTC
    fork || exec("cmd_proc_shell");
      That would be fork || exec('cmd_proc_shell', 'enter 0,1,0');, and you'll need to call waitpid or set $SIG{CHLD} = 'IGNORE'; at least.
      Thanks a lot That is the answer i expected.