Maybe something in here can help: Troubleshooting Perl CGI scripts
In reply to Re: Executing / Retrieving Output from Command by toolic in thread Executing / Retrieving Output from Command by rpike