]> granicus.if.org Git - python/commitdiff
Issue #6476: Document that os.spawnle and os.spawnve are not thread-safe under Windows.
authorAntoine Pitrou <solipsis@pitrou.net>
Mon, 18 Jul 2011 23:26:58 +0000 (01:26 +0200)
committerAntoine Pitrou <solipsis@pitrou.net>
Mon, 18 Jul 2011 23:26:58 +0000 (01:26 +0200)
Doc/library/os.rst

index 326215f69a7933ce2a636764468f09c97632faba..9968e6e6678e61072af358c16ed44a5bb8b331ac 100644 (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