in reply to Fork horror
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