use helper method utils.popen instead of os.popen3
authorTony Mack <tmack@cs.princeton.edu>
Fri, 18 Jan 2008 17:39:20 +0000 (17:39 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Fri, 18 Jan 2008 17:39:20 +0000 (17:39 +0000)
qaapi/qa/modules/plc/start.py

index f1b3038..65bece6 100644 (file)
@@ -26,8 +26,6 @@ class start(Test):
        if self.config.verbose:
            utils.header(full_command)  
 
-       (stdin, stdout, stderr) = os.popen3(full_command)
-        self.errors = stderr.readlines()
-        if self.errors: raise Exception, "\n".join(self.errors)
-
-       return 1
+       (stdout, stderr) = utils.popen(full_command)
+       
+         return 1