Changeset 32931 for trunk/ippToPsps/jython/odm.py
- Timestamp:
- Dec 13, 2011, 10:41:37 AM (15 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/jython/odm.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/jython/odm.py
r32801 r32931 2 2 3 3 import re 4 import os 5 import signal 4 6 import sys 5 7 import tempfile … … 33 35 p = Popen("../perl/checkOdmStatus.pl -b " + batch + " -f " + tempFile.name, 34 36 shell=True, 35 stdout=PIPE) 37 stdout=PIPE, 38 close_fds=True) 36 39 p.wait() 37 40 38 41 if p.returncode != 0: 39 42 self.logger.debugPair("ODM polling", "failed") … … 46 49 tempFile.close() 47 50 p.stdout.close() 51 48 52 49 53 if not ret: self.logger.debugPair("Cannot read ODM file for batch", "%d" % batchID)
Note:
See TracChangeset
for help on using the changeset viewer.
