diff --git a/cleanW10.ps1 b/cleanW10.ps1 index 357bca3..8bd87d9 100755 --- a/cleanW10.ps1 +++ b/cleanW10.ps1 @@ -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"