Skip to content

Commit

Permalink
try setting cwd
Browse files Browse the repository at this point in the history
  • Loading branch information
cognifloyd committed Nov 3, 2024
1 parent c5e66b9 commit 6575608
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions st2common/tests/integration/test_util_green.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ def mock_read_stderr(process_stderr, stderr_buffer):

exit_code, stdout, stderr, timed_out = run_command(
cmd=[script_path],
cwd=os.getcwd(),
preexec_func=os.setsid,
timeout=3,
read_stdout_func=mock_read_stdout,
Expand Down

0 comments on commit 6575608

Please sign in to comment.