Hide debug information when running apps from the command line

Posted by tutuca on Ask Ubuntu See other posts from Ask Ubuntu or by tutuca
Published on 2012-03-22T03:08:40Z Indexed on 2012/03/22 5:38 UTC
Read the original article Hit count: 249

Filed under:
|

Most of the time running a gtk application from the command line it starts dumping debug information to the stdio even though I put them in background.

Example:

~$ gedit test.html # and ctrl+z to suspend
zsh: suspended  gedit .zshrc
~$ bg
[1]  + continued  gedit .zshrc
~$
# do some editing
(gedit:6208): GtkSourceView-WARNING **: Could not find word to remove in buffer (whoosh), this should not happen!

(gedit:6208): GtkSourceView-WARNING **: Could not find word to remove in buffer (haystack), this should not happen!

I want to note that the error, or warning, changes according to what I'm doing at the moment. The GtkSourceView-WARNING shown here is one of the cases.

Anyway... Do you know if it's at all possible to avoid getting that information printed out?

© Ask Ubuntu or respective owner

Related posts about command-line

Related posts about applications