Issue #6476: Document that os.spawnle and os.spawnve are not thread-safe under Windows.

This commit is contained in:
Antoine Pitrou 2011-07-19 01:29:18 +02:00
commit 6d175b72b5
1 changed files with 3 additions and 1 deletions

View File

@ -2438,7 +2438,9 @@ written in Python, such as a mail server's external command delivery program.
os.spawnvpe(os.P_WAIT, 'cp', L, os.environ) os.spawnvpe(os.P_WAIT, 'cp', L, os.environ)
Availability: Unix, Windows. :func:`spawnlp`, :func:`spawnlpe`, :func:`spawnvp` Availability: Unix, Windows. :func:`spawnlp`, :func:`spawnlpe`, :func:`spawnvp`
and :func:`spawnvpe` are not available on Windows. and :func:`spawnvpe` are not available on Windows. :func:`spawnle` and
:func:`spawnve` are not thread-safe on Windows; we advise you to use the
:mod:`subprocess` module instead.
.. data:: P_NOWAIT .. data:: P_NOWAIT