[squeak-dev] How to get rid of instances of ExternalUnixOSProcess

Herbert König herbertkoenig at gmx.net
Tue Feb 3 13:49:54 UTC 2015


Hi,

I start external OS processes via the class side method command:
The returned instances correctly show runState #complete but the 
instances won't get garbage collected.
Pointer Finder gets me ThisOSProvess allMyChildren.

I start the external program every few seconds so the instances accumulate.

So should I manually send unregisterChildProcess: or should I reuse one 
instance of ExternalUnixOSProcess via repeated forkChild  to restart the 
program? Or something completely different?

Thanks,

Herbert


More information about the Squeak-dev mailing list