[fpc-pascal] Reusing a TProcess object (issue 19997)

Vincent Snijders vincent.snijders at gmail.com
Tue Oct 11 15:44:59 CEST 2011


Is it allowed to execute a TProcess object more than once? And if yes,
different command lines be used?

The reason I ask is issue 19997, each invocation of the compiler in
Lazarus leaks a process handle and a thread handle on windows. (not
tested on other OS-es).

If is it allowed to re-use TProcess object, how can it be done without
leaking handles?


More information about the fpc-pascal mailing list