ex76.pp 273 B

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