in reply to CGI script creating a user shell environment
Does the user that executes the script in CGI mode have rx permission on the realproducer thing?
Try also to print $! and $@ and such after the command. Try also to system() it and see what system returns.