mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-28 22:27:03 +02:00
13 lines
273 B
ObjectPascal
13 lines
273 B
ObjectPascal
Program Example76;
|
|
|
|
{ Program to demonstrate the FpExeclp function. }
|
|
|
|
Uses Unix, strings;
|
|
|
|
begin
|
|
{ Execute 'ls -l', with current environment. }
|
|
{ 'ls' is looked for in PATH environment variable.}
|
|
{ envp is defined in the system unit.}
|
|
FpExeclp ('ls',['-l']);
|
|
end.
|