From b2a947cd69fa45f2f4a72d45c8f075c947080b74 Mon Sep 17 00:00:00 2001 From: Roland Tannous Date: Wed, 13 May 2026 18:50:01 +0000 Subject: [PATCH] fix studio.py --- unsloth_cli/commands/studio.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/unsloth_cli/commands/studio.py b/unsloth_cli/commands/studio.py index 2635b4933e..a1cce1d791 100644 --- a/unsloth_cli/commands/studio.py +++ b/unsloth_cli/commands/studio.py @@ -835,6 +835,9 @@ def _run_setup_script(*, verbose: bool = False) -> None: stdout = _stream_for_subprocess(sys.stdout), stderr = _stream_for_subprocess(sys.stderr), **_windows_hidden_subprocess_kwargs(), + result = subprocess.run( + ["powershell", "-ExecutionPolicy", "Bypass", "-File", str(script)], + env = env, ) else: result = subprocess.run(["bash", str(script)], env = env)