Lines Matching refs:program

8 thread of control.  A process executes a program; you can have multiple
9 processes executing the same program, but each process has its own copy
10 of the program within its own address space and executes it
20 This chapter describes how a program can create, terminate, and control
23 execute a program, and coordinating the completion of the child process
24 with the original program.
27 running another program; it does all three steps automatically. If you
32 * Running a Command:: The easy way to run another program.
36 * Executing a File:: How to make a process execute another program.
41 * Process Creation Example:: A complete example program.
49 The easy way to run another program is to use the @code{system}
107 until the program ends. To avoid this calls to @code{system} should be
131 creating a process and making it run another program.
148 continue to execute normally. If you want your program to wait for a
155 A newly forked child process continues to execute the same program as
158 @code{_Fork} to tell whether the program is running in the parent process
162 Having several processes run the same program is only occasionally
163 useful. But the child can execute another program using one of the
164 @code{exec} functions; see @ref{Executing a File}. The program that the
166 execution of a new program causes the process to forget all about its
167 previous process image; when the new program exits, the process exits
206 Your program should include the header files @file{unistd.h} and
361 the proper precautions for using @code{vfork}, your program will still
372 process execute a new program after it has been forked.
375 program, see @ref{Program Basics}.
390 function of the program to be executed. The last element of this array
392 is the file name of the program sans directory names. @xref{Program
412 for the new program explicitly as the @var{env} argument. This should
420 This is similar to @code{execve}, but instead of identifying the program
434 environment for the new program explicitly. The environment argument is
468 These functions normally don't return, since execution of a new program
469 causes the currently executing program to go away completely. A value
476 The combined size of the new program's argument list and environment
518 executing a setuid program; instead the system default root directory
519 is used for the new program.
607 until the program ends. To avoid this calls to @code{waitpid} should be
694 until the program ends. To avoid this calls to @code{wait} should be
825 Here is an example program showing how you might write a function
836 /* @r{Execute the command using this shell program.} */
870 Remember that the first @code{argv} argument supplied to the program
871 represents the name of the program being executed. That is why, in the
872 call to @code{execl}, @code{SHELL} is supplied once to name the program
878 would leave two processes running the original program. Instead, the