Hide the endless stream of warnings from wx/GTK.
authorCarl Hetherington <cth@carlh.net>
Sun, 6 Nov 2022 22:44:53 +0000 (23:44 +0100)
committerCarl Hetherington <cth@carlh.net>
Sun, 6 Nov 2022 22:44:53 +0000 (23:44 +0100)
run/dcpomatic

index 8da7d7fab2fcc38cbffb7cc658764c569ed2bb34..429139dac3794494b938f6f76e746449e840cbf3 100755 (executable)
@@ -29,5 +29,5 @@ elif [ "$1" == "--screenshot" ]; then
     shift
     GTK_PATH=/usr/local/lib/gtk-3.0 GTK_MODULES=gtk-vector-screenshot $binary "$*"
 else
-    $binary $*
+    $binary $* 2> >(grep -v Gtk-CRITICAL | grep -v Gtk-WARNING)
 fi