Skip to content

Commit a4bf312

Browse files
committed
Avoid using system python
1 parent f5048e2 commit a4bf312

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/scripts/run_playbook_tests.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -502,8 +502,8 @@ def run_test(
502502
if setup_prefix:
503503
# Wrap in a shell so setup commands (e.g. venv activation) run first
504504
if is_windows:
505-
shell_cmd = ["powershell", "-Command"]
506-
script_content = f'{setup_prefix}; python "{script_file}"'
505+
shell_cmd = ["cmd", "/c"]
506+
script_content = f'{setup_prefix} && python "{script_file}"'
507507
else:
508508
shell_cmd = ["bash", "-c"]
509509
script_content = f'{setup_prefix} && python "{script_file}"'

0 commit comments

Comments
 (0)