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:26:58 +02:00
parent 12ebefc9d3
commit 0e752dd3f8
1 changed files with 3 additions and 1 deletions

View File

@ -1930,7 +1930,9 @@ written in Python, such as a mail server's external command delivery program.
os.spawnvpe(os.P_WAIT, 'cp', L, os.environ)
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