fpc/docs/unixex/ex56.pp
2004-10-22 21:57:33 +00:00

14 lines
219 B
ObjectPascal

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