summaryrefslogtreecommitdiffstats
path: root/Doc/library/os.rst
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2011-07-18 23:29:18 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2011-07-18 23:29:18 (GMT)
commit6d175b72b5a50936e005e19aca38957a0756e3ec (patch)
tree0f675d7fb69ea8299da2ceed0d4c08fd914d18c9 /Doc/library/os.rst
parentc12469df227a7ec8a268c9a6dae4f52c70c0635a (diff)
parent0e752dd3f850883f4bfef43f6d95eec835bb7bc6 (diff)
downloadcpython-6d175b72b5a50936e005e19aca38957a0756e3ec.zip
cpython-6d175b72b5a50936e005e19aca38957a0756e3ec.tar.gz
cpython-6d175b72b5a50936e005e19aca38957a0756e3ec.tar.bz2
Issue #6476: Document that os.spawnle and os.spawnve are not thread-safe under Windows.
Diffstat (limited to 'Doc/library/os.rst')
-rw-r--r--Doc/library/os.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst
index 6bd08c1..42dba30 100644
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -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)
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