From 95afc336301f8d2c055cc2807f32eb38a71652a3 Mon Sep 17 00:00:00 2001 From: Erica Marigold Date: Mon, 25 Nov 2024 11:43:15 +0000 Subject: [PATCH] fix(lib): bad argument to `Start-Process` cmdlet --- toolchainlib/src/utils/exec.luau | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolchainlib/src/utils/exec.luau b/toolchainlib/src/utils/exec.luau index 0300d23..4926f5a 100644 --- a/toolchainlib/src/utils/exec.luau +++ b/toolchainlib/src/utils/exec.luau @@ -120,7 +120,7 @@ function CommandBuilder.intoChildProcess(self: CommandBuilder): ChildProcess for _ = 0, retries do local spawned = process.spawn( if process.os == "windows" - then `(Start-Process {self.program} -Passthru -Wait -ExecutionPolicy Bypass -NoNewWindow -ArgumentList \"{argsList}\").Id` + then `(Start-Process {self.program} -Passthru -Wait -NoNewWindow -ArgumentList \"{argsList}\").Id` else `{self.program} {argsList} & echo $!`, {}, {