Skip to content

Commit

Permalink
add stdout=subprocess.PIPE to subprocess.run (#5078)
Browse files Browse the repository at this point in the history
  • Loading branch information
stxue1 committed Sep 3, 2024
1 parent f23b1d3 commit 8a8fed4
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 8a8fed4

Please sign in to comment.