On 7/19/2011 14:14, Sven Barth wrote:
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.
sounds like maybe they want "detach" but that won't work if they require to
interface with the app...
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal