[fpc-devel] TProcess input/ouput handles

Micha Nelissen micha at neli.hopto.org
Thu Mar 30 21:07:45 CEST 2006


On Thu, 30 Mar 2006 09:23:39 +0200 (Romance Daylight Time)
Michael Van Canneyt <michael at freepascal.org> wrote:

> 
> 
> On Wed, 29 Mar 2006, Micha Nelissen wrote:
> 
> > Hi,
> >
> > How can I close the input pipe of a process ? Suppose it keeps processing
> > until EOF, then I have to close to handle to let it finish its job.
> 
> sysutils.fileclose(input.handle)

Won't the handle be closed again by TProcess then ? Might that not lead to
closing of another opened file handle ?

Micha



More information about the fpc-devel mailing list