Discussion:
releasing Process
Ted Yu ted_yu-/E1597aS9LQAvxtiuMwx3w@public.gmane.org [seajug]
2014-10-14 21:17:26 UTC
Permalink
Hi,
Suppose Process is used to execute some command.
What effect would be expected if Process.destroy() is not called upon completion of the external command ?
Would GC take care of releasing resources associated with the Process ?

Cheers
Douglas Pearson doug-list-S/DimaiMjl4qNzItGZwj4Q@public.gmane.org [seajug]
2014-10-14 21:27:17 UTC
Permalink
I think destroy() is when you need to kill it.

If it terminates normally you should be fine to not destroy() anything.
​
Doug

Loading...