From 463ff0de30ee9193f6d637a6555dce06bccc9d43 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 13 Jul 2019 13:25:01 +0100 Subject: sisyphus-gui.py : bugfix/workaround * stdout capture and redirection seem to only work when we launch the application from a terminal * however this is not the case when we launch the application from the menu * use tmux as a controlling terminal so we can capture and redirect stdout no matter how we launch --- sisyphus-gui | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sisyphus-gui b/sisyphus-gui index 0d46356..887152e 100755 --- a/sisyphus-gui +++ b/sisyphus-gui @@ -20,9 +20,9 @@ checkifroot() { main() { if checkifroot; then - pushd /usr/share/sisyphus - python3 sisyphus-gui.py - popd + pushd /usr/share/sisyphus > /dev/null 2>&1 + tmux new-session -d -s sisyphus 'python3 sisyphus-gui.py' + popd > /dev/null 2>&1 fi } -- cgit v1.2.3