in reply to Re^3: Running an application and capturing outputin thread Running an application and capturing output