Fix spawn_async_with_pipes() to work without watch for child_pid=NULL
commit8aebf54b4716c7ca443851c1c72e6bc926e03371
authorDimitar Zhekov <dimitar.zhekov@gmail.com>
Fri, 26 Jun 2015 15:44:56 +0000 (26 18:44 +0300)
committerDimitar Zhekov <dimitar.zhekov@gmail.com>
Fri, 26 Jun 2015 15:44:56 +0000 (26 18:44 +0300)
tree587b74e4b69c2749bce19508415ad74d07588dcb
parentdf39fc7bf7f6d429acded128476220a53668c6a4
Fix spawn_async_with_pipes() to work without watch for child_pid=NULL

On child_pid=NULL, the Windows process handle is now closed ASAP, so
no main glib event loop is required.
src/spawn.c