summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2011-07-19 01:26:58 +0200
committerAntoine Pitrou <solipsis@pitrou.net>2011-07-19 01:26:58 +0200
commit711cb58db12e86b0108076dd88d8f0ad48f53e95 (patch)
tree8ed3aadc525937a3581aeecdfea68c4070538a29
parentc8ebbbc09b8d77c2514a1014968d88c3691036fa (diff)
downloadcpython-git-711cb58db12e86b0108076dd88d8f0ad48f53e95.tar.gz
Issue #6476: Document that os.spawnle and os.spawnve are not thread-safe under Windows.
-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 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