[issue19066] os.execv fails with spaced names on Windows

anatoly techtonik report at bugs.python.org
Sun Sep 29 13:18:26 CEST 2013


anatoly techtonik added the comment:

On Sun, Sep 29, 2013 at 2:05 PM, Richard Oudkerk <report at bugs.python.org> wrote:
> See  http://bugs.python.org/issue436259

I am not sure that I should see there. There is discussion of DOS,
which is not supported, also some complain about Windows execv
function, which deprecated since VC++ 2005 (which I hope also not
supported). Can you be more specific?

> This is a problem with Window's implementation of spawn*() and exec*().

> Note that on Windows exec*() is useless: it just starts a subprocess and exits the current process.  You can use subprocess to get the same effect.

Are you describing Windows implementation of _exec()
http://msdn.microsoft.com/en-us/library/431x4c1w.aspx or current
Python implementation?

> Just use subprocess instead which gets this stuff right.

subprocess doesn't replace os.exec*, see issue19060

----------
title: os.execv fails with spaced names on  Windows -> os.execv fails with spaced names on Windows

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19066>
_______________________________________


More information about the Python-bugs-list mailing list