Changeset 26345
- Timestamp:
- 07/09/21 16:23:14 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/solve/waitonlock.py
r26344 r26345 73 73 subproc = subprocess.Popen(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE) 74 74 outs, errs = subproc.communicate() # NOTE: Need to consume output before checking return code 75 if errs != '': 76 raise Exception("waitonlock: check for existence of files failed: {}".format(errs)) 75 # TODO: Debug the following check under Linux (exits after first iteration with errs = "b") 76 # 77 # if errs != '': 78 # raise Exception("waitonlock: check for existence of files failed: {}".format(errs)) 77 79 ispresent = not subproc.returncode 78 80 if ispresent:
Note:
See TracChangeset
for help on using the changeset viewer.