Commit 4806cd4
fix: set child process CWD to PowerShell's $PWD in Invoke-MaskedProcess
PowerShell's Set-Location updates $PWD but not .NET's
[Environment]::CurrentDirectory. Invoke-MaskedProcess uses
System.Diagnostics.Process which inherits the .NET CWD, causing
relative paths (like --output ./extracted-artifacts2) to resolve
from the repo root instead of the test directory.
Set WorkingDirectory = $PWD.Path so child processes use the same
directory as the calling PowerShell session.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent d320668 commit 4806cd4
1 file changed
Lines changed: 1 addition & 0 deletions
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
| 267 | + | |
267 | 268 | | |
268 | 269 | | |
269 | 270 | | |
| |||
0 commit comments