Skip to content

Commit

Permalink
Send stderr to stdout and stdout to the file object
Browse files Browse the repository at this point in the history
  • Loading branch information
dagardner-nv committed Dec 13, 2023
1 parent 87f9c6b commit 07cc411
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@ def _start_camouflage(
console_log_fh = open(console_log, 'w', encoding='utf-8')
popen = subprocess.Popen(["camouflage", "--config", "config.yml"],
cwd=root_dir,
stderr=console_log_fh,
stderr=subprocess.STDOUT,
stdout=console_log_fh,
preexec_fn=_set_pdeathsig(signal.SIGTERM))
# pylint: enable=subprocess-popen-preexec-fn,consider-using-with
Expand Down

0 comments on commit 07cc411

Please sign in to comment.