Skip to content

Commit

Permalink
add stdout=subprocess.PIPE to subprocess.run
Browse files Browse the repository at this point in the history
  • Loading branch information
stxue1 committed Aug 29, 2024
1 parent f23b1d3 commit e89df1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/toil/batchSystems/lsf.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def coalesce_job_exit_codes(self, batch_job_id_list: list) -> list:
logger.debug("Getting coalesced job exit codes via bjobs")
bjobs_records = self.parseBjobs(
subprocess.run(
args, check=False, stderr=subprocess.STDOUT, encoding="utf-8"
args, check=False, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, encoding="utf-8"
).stdout
)
if bjobs_records:
Expand Down

0 comments on commit e89df1d

Please sign in to comment.