As far as your code goes I believe you want to use system() instead of exec(). I'd also highly recommend using one of the Getopt modules over rolling your own command-line argument parser.
HTH
_________
broquaint
In reply to Re: Fork horror
by broquaint
in thread Fork horror
by debiandude
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |