LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How do I stop terminal output from being written to ~/.xession-error (https://www.linuxquestions.org/questions/linux-software-2/how-do-i-stop-terminal-output-from-being-written-to-%7E-xession-error-4175418819/)

Ronayn 07-26-2012 01:07 PM

How do I stop terminal output from being written to ~/.xession-error
 
OS: Fedora 14 64bit, GNOME desktop

I have a QT GUI application that prints out diagnostic information to the terminal while running. I run this application from a terminal when I am in debug mode; but for actual use, the applcation is launced through a launcher (icon) on the desktop. When the application is launched from the launcher, the terminal output for it gets sent to .xsession-error.

How do I prevent this behavior without modifying .xsession-error? (While still maintaining the ability to see the diagnostic print outs when launched directly from a terminal?)

antegallya 07-27-2012 09:16 AM

Hello,

you may change the launcher by issuing "command &> /dev/null" instead of "command".


All times are GMT -5. The time now is 12:00 AM.