Added startupinfo to the Popen call when on Windows since it requires some options that only exist for Windows in order to start subprocesses in background