]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Explain that os.spawn*() return the process handle on Windows.
authorFred Drake <fdrake@acm.org>
Mon, 1 Apr 2002 23:29:02 +0000 (23:29 +0000)
committerFred Drake <fdrake@acm.org>
Mon, 1 Apr 2002 23:29:02 +0000 (23:29 +0000)
This closes SF bug #537582.

Doc/lib/libos.tex

index 9493c202cc5adf1f69bb93116d5bd908ba15d340..13db32bb41c847ebad7477f43ddf9b7ab22ddd72 100644 (file)
@@ -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