Type: Posts; User: jimblumberg
You might want to look at popen. It will probably do just what you want a lot easier. Jim