RunAndWait

This program shows how to execute other programs and wait for them to finish before continuing. Also captures the output from a console app.


Win API Functions used:

AssocQueryString
CloseHandle
CreatePipe
CreateProcess
FormatMessage
GetExitCodeProcess
GetLastError
PeekNamedPipe
ReadFile
RtlZeroMemory
ShellExecute
ShellExecuteEx
TerminateProcess
WaitForSingleObject


——— Last updated 11/30/2022 ———