ex11.pp 280 B

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