mfontanini / presenterm

A markdown terminal slideshow tool
https://mfontanini.github.io/presenterm/
BSD 2-Clause "Simplified" License
1.19k stars 29 forks source link

fix(code-exec): wait for code execution process to exit completely #250

Closed dmackdev closed 3 months ago

dmackdev commented 3 months ago

Fixes https://github.com/mfontanini/presenterm/issues/247.

This PR ensures we wait for the code execution process to completely exit, when determining its exit status. This way, we do not erroneously show the [finished with error] output when the process had not exited yet.

mfontanini commented 3 months ago

Thanks!