On 19.07.2011 16:52, fred f wrote:
Hi,
use this code, which starts itself, but when you close first started
the second ends as well, what I don't want.
with TProcess.Create (Application) do begin
CommandLine := Application.ExeName + '&';
Execute;
Free;
end;
If I remember correctly this is simply the way Unix behaves. If the
parent process terminates all children are terminated as well. I don't
know how one can circumvent this.
Regards,
Sven
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal