Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2010-11

Lazarus restart

4 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

patspiper

I start Lazarus by double clicking in Nautilus (Ubuntu file manager) on a bash script which includes FPC path exports and Lazarus binary. If I rebuild the IDE and "restart after building" is checked, the IDE restarts (I can sometimes see the splash screen flicker), and the terminal disappears. I have to manually restart it.

However, if I execute the script from a terminal, the IDE restarts correctly after the rebuild.

Is this a bug?

Reply by email

Mattias Gaertner
to patspiper
Show quoted text 5 lines
I start Lazarus by double clicking in Nautilus (Ubuntu file manager) on a bash script which includes FPC path exports and Lazarus binary. If I rebuild the IDE and "restart after building" is checked, the IDE restarts (I can sometimes see the splash screen flicker), and the terminal disappears. I have to manually restart it.

The automatic restart of the IDE does this:
It starts "startlazarus.exe" and quits itself. Then startlazarus renames the new lazarus exe to lazarus.exe (under windows), starts it and quits. The new lazarus does not use the terminal any more.

I read that copying environment variables does not work under windows sometimes.

However, if I execute the script from a terminal, the IDE restarts correctly after the rebuild. Is this a bug?

No.

Mattias

Reply by email

patspiper
to Mattias Gaertner
Mattias Gaertner wrote 15 lines
On Thu, 04 Nov 2010 20:57:46 +0200 patspiper wrote: > I start Lazarus by double clicking in Nautilus (Ubuntu file manager) on > a bash script which includes FPC path exports and Lazarus binary. If I > rebuild the IDE and "restart after building" is checked, the IDE > restarts (I can sometimes see the splash screen flicker), and the > terminal disappears. I have to manually restart it. > The automatic restart of the IDE does this: It starts "startlazarus.exe" and quits itself. Then startlazarus renames the new lazarus exe to lazarus.exe (under windows), starts it and quits. The new lazarus does not use the terminal any more.

Does the new Lazarus process survive the demise of the terminal? In my case, it does not.

I read that copying environment variables does not work under windows sometimes.

I am using Ubuntu.

Reply by email

Mattias Gaertner
to patspiper
Show quoted text 18 lines
On 11/04/2010 11:41 PM, Mattias Gaertner wrote: > On Thu, 04 Nov 2010 20:57:46 +0200 > patspiper wrote: > > >> I start Lazarus by double clicking in Nautilus (Ubuntu file manager) on >> a bash script which includes FPC path exports and Lazarus binary. If I >> rebuild the IDE and "restart after building" is checked, the IDE >> restarts (I can sometimes see the splash screen flicker), and the >> terminal disappears. I have to manually restart it. >> > The automatic restart of the IDE does this: > It starts "startlazarus.exe" and quits itself. Then startlazarus > renames the new lazarus exe to lazarus.exe (under windows), starts it > and quits. The new lazarus does not use the terminal any more. > Does the new Lazarus process survive the demise of the terminal? In my case, it does not.

The new lazarus is independent of the terminal. Closing the terminal has no effect on the new lazarus.

Mattias

Reply by email