When I am debugging an application in Lazarus and use the app to launch an
external application with TProcess, after I stop the app to recompile, the
exe cannot be saved, and I have now realized that it is because of the
launched app still running in the background.

Is this issue due to the debugger or is it related to the way TProcess
works?

This is the sample code:

 AProcess := TProcess.Create(self);
  AProcess.CommandLine := fullCommStr;
  AProcess.ShowWindow := swoHide;
  AProcess.Execute;
  AProcess.Free;

The application is meant to run in the background.

,

-- 
Frank Church

=======================
http://devblog.brahmancreations.com
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to