avoid command hanging (#3066)

Co-authored-by: Bhavin Patel <bhavin.j.patel91@gmail.com>
This commit is contained in:
Carrie Roberts
2025-02-24 21:27:13 -07:00
committed by GitHub
parent 0e97929897
commit 07b95063b7
+1 -2
View File
@@ -30,8 +30,7 @@ atomic_tests:
Remove-Item "#{file_path}\Modified-SysInternalsSuite.zip" -Force
executor:
command: |
Set-Location -path "#{file_path}\Sysinternals";
./accesschk.exe -accepteula .;
Start-Process "#{file_path}\Sysinternals\accesschk.exe" -ArgumentList "-accepteula ."
cleanup_command: |
Remove-Item "#{file_path}\Sysinternals" -Force -Recurse -ErrorAction Ignore
name: powershell