Skip to content

subprocess: Start the subprocess asynchronously, then wait for it

Simon McVittie requested to merge wip/smcv/spawn-async into main

Enabler for !626 (merged) and potentially more.

  • subprocess: Start the subprocess asynchronously, then wait for it

    This is a step towards being able to do other things while we are waiting, in particular killing the subprocess with a signal if it times out (for which we would need to do the waitpid() in another thread, or in a loop using WNOHANG).

Edited by Simon McVittie

Merge request reports