Re: [fpc-pascal] CrossPlatform problem, INFINITE not defined on Linux

2020-07-18 Thread Michael Van Canneyt
On Sun, 19 Jul 2020, Bo Berglund via fpc-pascal wrote: I am porting an old application from Delphi to Lazarus and Windows to Linux. This application has a unit ExecWait, which was created to simplify running tool programs from the main program, so it supplies two procedures as: function ExecA

[fpc-pascal] CrossPlatform problem, INFINITE not defined on Linux

2020-07-18 Thread Bo Berglund via fpc-pascal
I am porting an old application from Delphi to Lazarus and Windows to Linux. This application has a unit ExecWait, which was created to simplify running tool programs from the main program, so it supplies two procedures as: function ExecAndWait(Cmdline: string; Hide: boolean = false; MaxWait: DWOR