[fpc-pascal]No wait execution and redirection of stdin and stdout
Michael.VanCanneyt at Wisa.be
Michael.VanCanneyt at Wisa.be
Wed Aug 28 22:48:02 CEST 2002
On Wed, 28 Aug 2002 XHajT03 at mbox.vol.cz wrote:
> From: "Peter H.M. Brooks" <peter at new.co.za>
> To: <fpc-pascal at deadlock.et.tudelft.nl>
> Subject: Re: [fpc-pascal]No wait execution and redirection of
> stdin and stdout
> Date sent: Tue, 27 Aug 2002 22:52:01 +0200
> Organization: Psyche Trading Company
> Send reply to: fpc-pascal at deadlock.et.tudelft.nl
>
> > No, I'm not talking about the really primitive one - I mean the
> > Windoze based ones - XP, 2000 and so forth.
>
> Well, it's a different story then. ;-) XP and 2000 aren't DOS based
> at all.
>
> > > > - Firstly I'd like to launch a program with no wait and then check
> > > > for its completion later.
>
> Windows isn't quite my domain, but... You should probably use
> function CreateProcess which is used in unit Dos (see the Win32
> implementation of this unit), I guess.
Have a look at TProcess in the process unit of the FCL.
It does all you need under win32 and linux;
Michael.
More information about the fpc-pascal
mailing list