How can I get the return value of a program that I launched from my program?