diff options
author | Fred Drake <fdrake@acm.org> | 2003-05-20 16:21:51 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2003-05-20 16:21:51 (GMT) |
commit | 15eac1f95c53b0e162c460cfdbf4e490184f375e (patch) | |
tree | 2612224f9cb362e79ba2b067d8bcd72a742e2a61 /Doc/lib | |
parent | dbaf04ead68ae30f7f540837b5c674b2df66b0ed (diff) | |
download | cpython-15eac1f95c53b0e162c460cfdbf4e490184f375e.zip cpython-15eac1f95c53b0e162c460cfdbf4e490184f375e.tar.gz cpython-15eac1f95c53b0e162c460cfdbf4e490184f375e.tar.bz2 |
Fix markup nits.
Diffstat (limited to 'Doc/lib')
-rw-r--r-- | Doc/lib/libos.tex | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/lib/libos.tex b/Doc/lib/libos.tex index 229342f..5d16a0d 100644 --- a/Doc/lib/libos.tex +++ b/Doc/lib/libos.tex @@ -1515,15 +1515,15 @@ calling the Standard C function \cfunction{system()}, and has the same limitations. Changes to \code{posix.environ}, \code{sys.stdin}, etc.\ are not reflected in the environment of the executed command. -On \UNIX the return value is the exit status of the process encoded in the +On \UNIX, the return value is the exit status of the process encoded in the format specified for \function{wait()}. 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. -On Windows the return value is that returned by the system shell after +On Windows, the return value is that returned by the system shell after running \var{command}, given by the Windows environment variable -\code{COMSPEC}: on \code{command.com} systems (Windows 95, 98 and ME) -this is always \code{0}; on \code{cmd.exe} systems (Windows NT, 2000 +\envvar{COMSPEC}: on \program{command.com} systems (Windows 95, 98 and ME) +this is always \code{0}; on \program{cmd.exe} systems (Windows NT, 2000 and XP) this is the exit status of the command run; on systems using a non-native shell, consult your shell documentation. |