From 711cb58db12e86b0108076dd88d8f0ad48f53e95 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 326215f..9968e6e 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 -- cgit v0.12