mirror of
https://github.com/python/cpython.git
synced 2025-09-10 10:47:34 +00:00
Further clarfication of the system-dependence of the system() return
value, based on comments from Tim Peters.
This commit is contained in:
parent
4f298695be
commit
a88ef00a50
1 changed files with 3 additions and 1 deletions
|
@ -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.
|
etc.\ are not reflected in the environment of the executed command.
|
||||||
The return value is the exit status of the process encoded in the
|
The return value is the exit status of the process encoded in the
|
||||||
format specified for \function{wait()}, except on Windows 95 and 98,
|
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.
|
Availability: \UNIX{}, Windows.
|
||||||
\end{funcdesc}
|
\end{funcdesc}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue