Rework ExecCommand()
This commit is contained in:
parent
0529b16387
commit
1739c2f800
1 changed files with 1 additions and 2 deletions
|
@ -598,8 +598,7 @@ function ExecCommand {
|
|||
return
|
||||
}
|
||||
try {
|
||||
Start-Process -wait -filepath $path -ArgumentList $args.split(" ")
|
||||
Write-Host -ForegroundColor Green "done"
|
||||
Start-Process -NoNewWindow -wait -filepath $path -ArgumentList $args
|
||||
}
|
||||
catch {
|
||||
Write-Host -NoNewLine -ForegroundColor Red "Error`n`t"
|
||||
|
|
Reference in a new issue