> The command i use is:
> 
> system("./cserver &") or die "system cserver failed: $?";
> 
> what i get in the error log is:
> 
> null:system cserver failed: 0 at /home/httpd/perl/test.pl line 35

Are sure that cserver fails? I have come across several unix programs that 
return 0 on success. You can always do:

system("./cserver >mylogfile 2>&1 &")

to see what cserver outputs on STDOUT and STDERR. Also make sure that your 
working directory is what you expect it to be. (Try for instance Cwd.pm to 
check that.)


Hope this helps,


Kees Vonk

Reply via email to