poll()
instead of select()
, thanks to Walerian Sokołowskiprocess_exists()
APIprocess_close_input()
call to close the write end of child's standard input pipe; this in most cases will let the child know it should exitrenamed process_poll()
to process_wait()