-
Notifications
You must be signed in to change notification settings - Fork 909
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(GH-883) Wait Up to 15 Seconds for Process Exit
Even though `$process.WaitForExit()` has identified that the process has exited, it appears that the process may be performing some final cleanup as the exit code is still null when it is passed to `Set-PowerShellExitCode`. Allow the process to take up to 15 seconds to fully exit so that it has cleaned up. In the case of 7zip, ensure that it has ample time to finish extracting after it has indicated that it has completed the extraction and is exiting.
- Loading branch information
1 parent
5401fba
commit 04d9e0e
Showing
2 changed files
with
13 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters