fpc/docs/olinuxex/ex56.pp
2004-10-16 13:14:03 +00:00

14 lines
223 B
ObjectPascal

program example56;
uses oldlinux;
{ Program to demonstrate the Shell function }
Var S : Longint;
begin
Writeln ('Output of ls -l *.pp');
S:=Shell ('ls -l *.pp');
Writeln ('Command exited wwith status : ',S);
end.