[fpc-pascal] TProcess, Batch script and Windows

Michael Van Canneyt michael at freepascal.org
Thu May 16 17:51:53 CEST 2013



On Wed, 15 May 2013, Marcos Douglas wrote:

> Hi,
>
> I want to execute a batch file on Windows (FPC 2.6.2 and Laz trunk)
> using TProcess class.
> It ONLY works if I use the [poWaitOnExit] and DO NOT USE [poNoConsole] options.
>
> I do not want to see the console so, I need to use [poNoConsole]
> option. Is this a bug?

As far as I know, batch files need CMD and that needs a console ?

Michael.



More information about the fpc-pascal mailing list