From 0e752dd3f850883f4bfef43f6d95eec835bb7bc6 Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Tue, 19 Jul 2011 01:26:58 +0200 Subject: Issue #6476: Document that os.spawnle and os.spawnve are not thread-safe under Windows. --- Doc/library/os.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v0.12