[lazarus] TProcess:Unable to create pipe...

Michael Van Canneyt michael.vancanneyt at wisa.be
Tue Jun 24 03:15:11 EDT 2003




On 23 Jun 2003, Tom Lisjac wrote:

>
> I'd been seeing some "Unable to create Pipe" exceptions when making
> repeated calls to TProcess so I set up a test case. Dropping a TProcess,
> button and an edit on a form and running the following code reproduces
> the problem. On my system it fails on call 326. Setting "options:=[];"
> executes all 50000 calls without error.

Probably the pipes are not closed when the executed program finishes,
this would explain why the system stops: there is a limit on the number
of pipes you can create.

I will have a look at it tonight, no linux available ATM...

Michael.






More information about the Lazarus mailing list