[fpc-pascal] TProcess, Batch script and Windows

Marcos Douglas md at delfire.net
Wed May 15 15:37:47 CEST 2013


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?

I'm sending a project test in attachment. Thanks,

Best regards,
Marcos Douglas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.zip
Type: application/zip
Size: 130630 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20130515/d1c1d9c0/attachment.zip>

More information about the fpc-pascal mailing list