fpc/docs/linuxex/ex56.pp
1998-04-21 08:20:59 +00:00

14 lines
220 B
ObjectPascal

program example56;
uses linux;
{ 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.