nickguletskii / GLXOSD

GLXOSD is an extensible on-screen display (OSD)/overlay for OpenGL applications running on Linux with X11 which aims to provide similar functionality to MSI Afterburner/RivaTuner OSD. It can show FPS, frame timings, temperatures and more in OpenGL games and applications. It can also be used to benchmark games, much like voglperf.
https://glxosd.nickguletskii.com
MIT License
123 stars 20 forks source link

Improvement: use exec "$@" #89

Closed XenonPK closed 7 years ago

XenonPK commented 7 years ago

After using glxosd for some time, I started tinkering a bit with it and noticed the way the process is launched by the launcher is using fork() exec(), which leaves a dangling bash process while the application is running. This is unnecessary and can be fixed by launching the application with: exec "$@" instead of : "$@" It's not a big deal BUT it should be fixed.

nickguletskii commented 7 years ago

Since this is a minor fix I will include it in a release with other features.

nickguletskii commented 7 years ago

Thank you for reporting this!

XenonPK commented 7 years ago

No problem, I actually packaged glxosd for openSUSE and used sed to add it in the install section. Then I figured it's better for everyone if I report it upstream.