blob: 8e9f2e4098e35c87aeeede919b558cdefcf13810 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
Program Example11;
{ Program to demonstrate the Execle function. }
Uses oldlinux, strings;
begin
{ Execute 'ls -l', with current environment. }
{ 'ls' is NOT looked for in PATH environment variable.}
{ envp is defined in the system unit.}
Execle ('/bin/ls -l',envp);
end.
|