avoid command hanging (#3066)
Co-authored-by: Bhavin Patel <bhavin.j.patel91@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user