microsoft / containers-toolkit

Containers-Toolkit is a Windows PowerShell module for downloading, installing, and setting up default configs for Containerd, BuildKit, Windows CNI plugin, and nerdctl.
MIT License
16 stars 9 forks source link

[Bug] WaitForExit() hangs forever #17

Closed TinaMor closed 5 months ago

TinaMor commented 5 months ago

Fix WaitForExit() in Invoke-ExecutableCommand() hangs forever even though the process has exited in some cases. This happens when the executable does not exit after completion. To mitigate this, we add a customisable timeout.