Subject: | forks seems broke system() call |
Here come a very simple script which works perfectly. Remove the # before forks, the system command is executed but return -1 :(
Any of you ever see that before ?
#!/usr/bin/perl
#use forks;
system("ls >/dev/null 2>&1")==0 or print $?;
Running on perl v5.8.6
Regards,
Erwan