summaryrefslogtreecommitdiff
path: root/fpcdocs/unixex/ex10.pp
blob: 02ab5bb2bda6c25bc487ce14961d7547a1f47fde (plain)
1
2
3
4
5
6
7
8
9
10
11
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.