in reply to vanishing system call

how about...

exiting right before you call, and actually doing the command on the command line. any system errors should pop right up. i know this doesnt solve your error handling problem but atleast this way you should be able to see the error.

just my cheesy way of debugging.