Added support for using Popen and win32 stuffs