diff --git a/ide/lazarusmanager.pas b/ide/lazarusmanager.pas index cb0b2ad5ed..7f24ab2803 100644 --- a/ide/lazarusmanager.pas +++ b/ide/lazarusmanager.pas @@ -29,15 +29,18 @@ (* Abstract: This is the worker unit of the 'startlazarus' application. - It waits for any already running lazarus to stop. - Then it searches the new lazarus executable. + + It searches the new lazarus executable. 1. open the build lazarus options and look for a custom target directory 2. look in the directory of startlazarus (the lazarus main directory) and in $(ConfigDir)/bin/ and use the newest lazarus executable. On systems which lock executables on run it renames the lazarus to lazarus.old and lazarus.new to lazarus. - Then it starts lazarus. - Finally it stops itself. + Then it starts lazarus and waits until it is finished. It waits only for a + specific running lazarus: the one which pid was passed as command line + parameter. If lazarus gives a special exit code (ExitCodeRestartLazarus) it + goes to step 1. + Any other exit code, also stops startlazarus. Why that? @@ -301,6 +304,9 @@ end; end. { $Log$ + Revision 1.15 2004/12/06 10:32:32 mattias + fixed startlazarus description + Revision 1.14 2004/12/04 01:17:41 mattias implemented Target Directory for IDE