[Overview][Constants][Types][Procedures and functions][Variables][Index] |
Execute process (using argument list)
Source position: line 0
procedure Execl( |
const Todo: String |
); |
const Todo: Ansistring |
); |
Replaces the currently running program with the program, specified in path. Path is split into a command and it's options. The executable in path is NOT searched in the path. The current environment is passed to the program. On success, execl does not return.
Errors are reported in LinuxError:
|
Execute process using environment |
|
|
Execute process |
|
|
Execute process, search path |
|
|
Execute process (using argument list, environment) |
|
|
Execute process (using argument list, environment; search path) |
|
|
Create child process |
Program Example10; { Program to demonstrate the Execl function. } Uses oldlinux, strings; begin { Execute 'ls -l', with current environment. } { 'ls' is NOT looked for in PATH environment variable.} Execl ('/bin/ls -l'); end.
lazarus-ccr.sourceforge.net |