using asynchronous subprocesses on Windows and POSIX [1]