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 c8ebbbc09b
commit 711cb58db1
1 changed files with 3 additions and 1 deletions

View File

@ -2052,7 +2052,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.
.. versionadded:: 1.6