in reply to Running a Command Line from your Program

This is nearly a FAQ
Please read this

You'll be interested in system,exec,qx or backticks (eg. `ls -l /home/hopes`)
You migth also do a supersearch for examples
Hope this helps
Hopes