Fixes the issue with unauthorized I/O redirection

Signed-off-by: alexis-opolka <53085471+alexis-opolka@users.noreply.github.com>
This commit is contained in:
alexis-opolka 2025-03-16 11:28:26 +01:00
parent 259114daa0
commit 211795f8d5

View file

@ -8,6 +8,7 @@ $null = New-Module {
Arguments = $args;
RedirectStandardOutput = $true;
WorkingDirectory = $PWD;
UseShellExecute = $false;
}
$p = [System.Diagnostics.Process]@{StartInfo = $startArgs}