summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libos.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1999-06-18 19:11:25 (GMT)
committerFred Drake <fdrake@acm.org>1999-06-18 19:11:25 (GMT)
commita88ef00a50bea5b6f7df28a51a84d0938bf6fe95 (patch)
tree642c91d305587c1922a83d24cbfe543284566f49 /Doc/lib/libos.tex
parent4f298695bebfde439c074731d21dc5dd8d4bb08c (diff)
downloadcpython-a88ef00a50bea5b6f7df28a51a84d0938bf6fe95.zip
cpython-a88ef00a50bea5b6f7df28a51a84d0938bf6fe95.tar.gz
cpython-a88ef00a50bea5b6f7df28a51a84d0938bf6fe95.tar.bz2
Further clarfication of the system-dependence of the system() return
value, based on comments from Tim Peters.
Diffstat (limited to 'Doc/lib/libos.tex')
-rw-r--r--Doc/lib/libos.tex4
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/lib/libos.tex b/Doc/lib/libos.tex
index d150776..6181be2 100644
--- a/Doc/lib/libos.tex
+++ b/Doc/lib/libos.tex
@@ -695,7 +695,9 @@ same limitations. Changes to \code{posix.environ}, \code{sys.stdin},
etc.\ are not reflected in the environment of the executed command.
The return value is the exit status of the process encoded in the
format specified for \function{wait()}, except on Windows 95 and 98,
-where it is always \code{0}.
+where it is always \code{0}. Note that \POSIX{} does not specify the
+meaning of the return value of the C \cfunction{system()} function,
+so the return value of the Python function is system-dependent.
Availability: \UNIX{}, Windows.
\end{funcdesc}