Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
5e7cf0ad
Commit
5e7cf0ad
authored
May 20, 2003
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix markup nits.
parent
40b0cf8b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Doc/lib/libos.tex
Doc/lib/libos.tex
+4
-4
No files found.
Doc/lib/libos.tex
View file @
5e7cf0ad
...
@@ -1515,15 +1515,15 @@ calling the Standard C function \cfunction{system()}, and has the
...
@@ -1515,15 +1515,15 @@ calling the Standard C function \cfunction{system()}, and has the
same limitations. Changes to
\code
{
posix.environ
}
,
\code
{
sys.stdin
}
,
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.
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
format specified for
\function
{
wait()
}
. Note that
\POSIX
{}
does not
specify the meaning of the return value of the C
\cfunction
{
system()
}
specify the meaning of the return value of the C
\cfunction
{
system()
}
function, so the return value of the Python function is system-dependent.
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
running
\var
{
command
}
, given by the Windows environment variable
\
code
{
COMSPEC
}
: on
\code
{
command.com
}
systems (Windows 95, 98 and ME)
\
envvar
{
COMSPEC
}
: on
\program
{
command.com
}
systems (Windows 95, 98 and ME)
this is always
\code
{
0
}
; on
\
code
{
cmd.exe
}
systems (Windows NT, 2000
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
and XP) this is the exit status of the command run; on systems using
a non-native shell, consult your shell documentation.
a non-native shell, consult your shell documentation.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment