fpc/docs/olinuxex/ex10.pp
2004-10-16 13:14:03 +00:00

12 lines
235 B
ObjectPascal

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.