Eryk Sun <eryk...@gmail.com> added the comment:

nt.execv[e] wraps calling the C runtime _wexecv[e] function. The other os.exec* 
functions are in turn based on these calls. As to spawn, for Windows _P_OVERLAY 
just means to exit the current process. The source code is published, so you 
can see how simple the implementation is in ucrt\exec\spawnv.cpp:

    if (mode == _P_OVERLAY)
    {
        // Destroy ourselves:
        _exit(0);
    }

If I recall correctly, in the early 80s, Microsoft's C runtime was used for 
both MS-DOS and Xenix (Unix) development. One assumes that the overlay option 
was actually useful in Xenix.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue9148>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to