View Issue Details

IDProjectCategoryView StatusLast Update
0000123Lazaruspublic2003-09-25 16:01
ReporterBug Import Assigned ToMattias Gaertner  
Status closedResolutionno change required 
Summary0000123: TProcess: Could not create pipe
DescriptionIf 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.

The following code will reproduce the problem with a TProcess, button and edit on the form:

procedure TForm1.Button1CLICK(Sender: TObject);
var i:Integer;
  With Process1 do
      For I:=1 to 50000 do

Additional InformationImported information
Name: Tom Lisjac
TagsNo tags attached.
Fixed in Revision
WidgetsetGTK, Win32/Win64
Attached Files


Bug Import

2003-09-25 16:01

reporter   ~0000105

Not a lazarus bug. This should be added to the FPC bug list.

Issue History

Date Modified Username Field Change
2003-07-01 00:00 Bug Import New Issue
2003-07-01 00:00 Bug Import Widgetset => GTK, Win32
2003-09-25 16:01 Bug Import Status new => assigned
2003-09-25 16:01 Bug Import Assigned To => Mattias Gaertner
2003-09-25 16:01 Bug Import Note Added: 0000105
2003-09-25 16:01 Bug Import Status new => closed
2003-09-25 16:01 Bug Import Resolution open => no change required