$cmd = "MyProgram.exe"; $output = `$cmd`; # The problem I am facing at this point is, if # "MyProgram.exe" hangs, or takes a long time to # respond, the script will not be able to process # the output or proceed to run other tests.