in reply to using data from an os program

Use qx if you want to capture the output of a program.