fpc/docs/linuxex/ex10.pp
1998-03-25 11:26:49 +00:00

12 lines
232 B
ObjectPascal

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