From: Fred Drake Date: Mon, 1 Apr 2002 23:29:02 +0000 (+0000) Subject: Explain that os.spawn*() return the process handle on Windows. X-Git-Tag: v2.2.1~32 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f82ba5bf55d80136db20bf5e65d577f3fec46c27;p=thirdparty%2FPython%2Fcpython.git Explain that os.spawn*() return the process handle on Windows. This closes SF bug #537582. --- diff --git a/Doc/lib/libos.tex b/Doc/lib/libos.tex index 9493c202cc5a..13db32bb41c8 100644 --- a/Doc/lib/libos.tex +++ b/Doc/lib/libos.tex @@ -1018,7 +1018,8 @@ Execute the program \var{path} in a new process. If \var{mode} is \constant{P_NOWAIT}, this function returns the process ID of the new process; if \var{mode} is \constant{P_WAIT}, returns the process's exit code if it exits normally, or \code{-\var{signal}}, where -\var{signal} is the signal that killed the process. +\var{signal} is the signal that killed the process. On Windows, the +process ID will actually be the process handle. The \character{l} and \character{v} variants of the \function{spawn*()} functions differ in how command-line arguments are