[lazarus] New Bug Entered

Mattias Gaertner nc-gaertnma at netcologne.de
Tue Jul 1 17:01:19 EDT 2003


On Tue, 1 Jul 2003 15:33:30 -0400
bugtracker at miraclec.com wrote:

> 
> Title: TProcess: Could not create pipe
> 
> Entered by: Tom Lisjac
> 
> If poUsePipes is set as an option in TProcess, a \"Could not create pipe\"
> exception is thrown after several hundred calls. Removing poUsePipes or
> commenting out the CreateStreams and 3 fileclose statements in
> TProcess.execute makes the problem go away... along with access to the
> streams. I\'ve tried but haven\'t had any success fixing this.

Eh. This is a FCL bug. The freepascal website has a bugtracker.


Mattias


> 
> The following code will reproduce the problem with a TProcess, button and
> edit on the form:
> 
> procedure TForm1.Button1CLICK(Sender: TObject);
> var i:Integer;
> begin
>   With Process1 do
>     Begin
>       commandline:=\'ls\';
>       options:=[pousepipes,ponoconsole];
>       For I:=1 to 50000 do
>         Begin
>           edit1.text:=inttostr(i);
>           active:=true;
>           WaitonExit;
>         end
>     End
> end;
> 
> 
> 
> 
> _________________________________________________________________
>      To unsubscribe: mail lazarus-request at miraclec.com with
>                 "unsubscribe" as the Subject
>    archives at http://www.lazarus.freepascal.org/mailarchives


-- 






More information about the Lazarus mailing list