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
1cbf6057
Commit
1cbf6057
authored
Sep 23, 2000
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added explanation of the use of the first program argument passed to the
exec*() family of functions.
parent
e7c4f88b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
Doc/lib/libos.tex
Doc/lib/libos.tex
+9
-0
No files found.
Doc/lib/libos.tex
View file @
1cbf6057
...
...
@@ -758,6 +758,15 @@ Availability: Macintosh, \UNIX{}, Windows.
These functions may be used to create and manage processes.
The various
\function
{
exec*()
}
functions take a list of arguments for
the new program loaded into the process. In each case, the first of
these arguments is passed to the new program as its own name rather
than as an argument a user may have typed on a command line. For the
C programmer, this is the
\code
{
argv[0]
}
passed to a program's
\cfunction
{
main()
}
. For example,
\samp
{
os.execv('/bin/echo', ['foo',
'bar'])
}
will only print
\samp
{
bar
}
on standard output;
\samp
{
foo
}
will seem to be ignored.
\begin{funcdesc}
{
abort
}{}
Generate a
\constant
{
SIGABRT
}
signal to the current process. On
...
...
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