Expect: resource cleanup



Hello all,

I have a problem on releasing expect resources.
In an application which takes several hours
to complete I fall out of file resources
and this error is raised:
"too many programs spawned? could not create pipe: too many open files"

Until now, I've always thought "close" + "wait" command
would do the trick to release resource bound to a spawned process.

What am I missing ?

------------------------------
David Bariod
For email replace spam by tel

.



Relevant Pages

  • Re: Disable files with dhtml/vbs?
    ... Within the script use cmiThis object to refer to the instance in the context ... Those will be the file resources. ... A file name will be the value of the extended property "DstName" of the ...
    (microsoft.public.windowsxp.embedded)
  • Re: Expect: resource cleanup
    ... > I have a problem on releasing expect resources. ... > What am I missing? ... Prev by Date: ...
    (comp.lang.tcl)
  • Re: Garbage Colletor
    ... It's extremely easy to handle resources in C++ as you stated but the ... Logically speaking, the memory is still in fact available, the moment you release your last reference to it. ... The "using" statement and IDisposable exist for one purpose: to explicitly release resources held by an object without releasing the object itself. ... In fact, the garbage collection model is, at least for that particular operation, much more efficient, because there's no need to go through the entire object cleaning things up. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Lost Device - Release Timing
    ... But I think that detecting loss and releasing at that time might not be the ... Because when your device is lost, usually it's your app being ... > When the device is lost, some resources need releasing before calling ...
    (microsoft.public.win32.programmer.directx.graphics)
  • Re: Problem at 2nd Connectl (TAPI 3)
    ... IŽll try releasing every call related resources as you say. ... >> Everything is supposed to be compatible with TAPI) ... > * Please post all messages and replies to the newsgroup so all may ...
    (microsoft.public.win32.programmer.tapi)