diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2011-07-18 23:26:58 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2011-07-18 23:26:58 (GMT) |
commit | 0e752dd3f850883f4bfef43f6d95eec835bb7bc6 (patch) | |
tree | 3d13182de3320bf3c29d3cc1f2e6656b5a449c50 /Doc | |
parent | 12ebefc9d3b7268d17d4a042767f712c46d03dfe (diff) | |
download | cpython-0e752dd3f850883f4bfef43f6d95eec835bb7bc6.zip cpython-0e752dd3f850883f4bfef43f6d95eec835bb7bc6.tar.gz cpython-0e752dd3f850883f4bfef43f6d95eec835bb7bc6.tar.bz2 |
Issue #6476: Document that os.spawnle and os.spawnve are not thread-safe under Windows.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/os.rst | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst index 5c84e85..d8ab8b7 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -1930,7 +1930,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 |