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

14 lines
221 B
ObjectPascal

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