in reply to Re^5: Redirecting and using output from executed programin thread Redirecting and using output from executed program