From: Antoine Pitrou Date: Mon, 18 Jul 2011 23:26:58 +0000 (+0200) Subject: Issue #6476: Document that os.spawnle and os.spawnve are not thread-safe under Windows. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=711cb58db12e86b0108076dd88d8f0ad48f53e95;p=python Issue #6476: Document that os.spawnle and os.spawnve are not thread-safe under Windows. --- diff --git a/Doc/library/os.rst b/Doc/library/os.rst index 326215f69a..9968e6e667 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -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