Amaury Forgeot d'Arc <amaur...@gmail.com> added the comment: 2.6 and 3.0.1 used to disable the Microsoft CRT argument error handler: they return EINVAL, but newer versions don't, and should check their arguments before calling _spawnv.
FWIW, the checks are:: pathname != NULL *pathname != '\0' argv != NULL *argv != NULL **argv != '\0' The first and third checks are guaranteed by the implementation, but the other three should be done in posix_spawnv(). And the other calls to the various nt.spawn* functions probably suffer the same problem. ---------- nosy: +amaury.forgeotdarc _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8036> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com