Freecad restarts on exit

Post here for help on using FreeCAD's graphical user interface (GUI).
drmacro
Posts: 95
Joined: Sun Mar 02, 2014 4:35 pm

Freecad restarts on exit

Postby drmacro » Thu Feb 14, 2019 7:52 pm

Hi,
If I run freecad, then select File>Exit or hit the x in the upper right corner, it shuts down the restarts.

If I, after it restarts, I select Exit or X, it shuts down normally.

I did some searching with terms like restart, but, didn't see anything.

No big deal...just makes getting to the first beer at the end of the day take a few seconds longer. :lol:


OS: Ubuntu 18.04.2 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15860 (Git)
Build type: Release
Branch: master
Hash: 3b708c7f84b0425076b520e1d95627b20fd75fe0
Python version: 2.7.15rc1
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
drmacro
Posts: 95
Joined: Sun Mar 02, 2014 4:35 pm

Re: Freecad restarts on exit

Postby drmacro » Sat Feb 16, 2019 6:08 pm

Update:

I had, for a previous update, set up a shell script to launch FC because of graphics issues. It has two lines:

Code: Select all

LIBGL_DRI3_DISABLE=true freecad-daily
freecad-daily
When I use this script FC restarts when I exit. When I created the script, I did a cut-n-paste from the source of the graphics fix. For some reason I thought the freecad-daily at the end of the line was part of the LIBGL... setting and the second line was launching FC.

Obviously it is not and when the instance of FC from the first line closes...it executes the second line.

Silly me :oops: Guess it's been a while since I did some shell scripts.

In any case, the LIBGL setting is apparently no longer needed, so neither is the script.
triplus
Posts: 8124
Joined: Mon Dec 12, 2011 4:45 pm

Re: Freecad restarts on exit

Postby triplus » Sun Feb 17, 2019 2:53 pm

Yes, using such launcher would start freecad again, after FreeCAD gets closed.

P.S. Thanks for getting back to us, explaining the problem involved and solution.