fpc/docs/linuxex/ex10.pp
2004-07-17 22:10:48 +00:00

12 lines
231 B
ObjectPascal

Program Example10;
{ Program to demonstrate the Execl function. }
Uses unix, strings;
begin
{ Execute 'ls -l', with current environment. }
{ 'ls' is NOT looked for in PATH environment variable.}
Execl ('/bin/ls -l');
end.