[fpc-pascal]Exec without DOS console

Pierre Muller pierre at freepascal.org
Fri Jan 25 10:48:30 CET 2002


At 10:31 25/01/2002 , Danuta Burnicka a écrit:
>Hi,
>I need a program which only execute another application and 
>I wrote the following one.
>
>Program Acrobat;
>uses Dos;
>begin
>  Exec('AcroRd32.exe','');
>end.
>
>If I run this program the DOS console is openning
>and it is closing after I close Acrobat Viewer.
>What I have to do that DOS console wouldn't show.

Do you know
-WG option?
Did you try it?
It should solve your problem.





More information about the fpc-pascal mailing list