Index: Doc/library/os.rst =================================================================== --- Doc/library/os.rst (revision 77319) +++ Doc/library/os.rst (working copy) @@ -1884,7 +1884,8 @@ Execute the command (a string) in a subshell. This is implemented by calling the Standard C function :cfunc:`system`, and has the same limitations. Changes to :data:`sys.stdin`, etc. are not reflected in the environment of the - executed command. + executed command. The output results of the command will be shown in python command + line. On Unix, the return value is the exit status of the process encoded in the format specified for :func:`wait`. Note that POSIX does not specify the meaning @@ -1894,7 +1895,7 @@ On Windows, the return value is that returned by the system shell after running *command*, given by the Windows environment variable :envvar:`COMSPEC`: on :program:`command.com` systems (Windows 95, 98 and ME) this is always ``0``; on - :program:`cmd.exe` systems (Windows NT, 2000 and XP) this is the exit status of + :program:`cmd.exe` systems (Windows NT, 2000, XP, Vista and 7) this is the exit status of the command run; on systems using a non-native shell, consult your shell documentation.