note
nimdokk
You might also take a look at re-directing STDOUT and STDERR. In addition, make sure you are properly capturing return codes to know if something was successful or not. I would suggest reading about STDIN/STDOUT/STDERR in the fine manual :-)
783805
783805