mirror of
https://github.com/pesde-pkg/tooling.git
synced 2025-04-19 19:33:56 +01:00
fix(lib): bad argument to Start-Process
cmdlet
This commit is contained in:
parent
2c759140c9
commit
65b150e247
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ function CommandBuilder.intoChildProcess(self: CommandBuilder): ChildProcess
|
||||||
for _ = 0, retries do
|
for _ = 0, retries do
|
||||||
local spawned = process.spawn(
|
local spawned = process.spawn(
|
||||||
if process.os == "windows"
|
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 $!`,
|
else `{self.program} {argsList} & echo $!`,
|
||||||
{},
|
{},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue