diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-07-13 13:25:01 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-07-13 13:25:01 +0100 |
commit | 463ff0de30ee9193f6d637a6555dce06bccc9d43 (patch) | |
tree | 61cac6176d576321aa5b5e398c6661b238df2545 /sisyphus-gui | |
parent | 1c37d0c8dc00d9d34b7f137b4651d08a7f6547fb (diff) |
sisyphus-gui.py : bugfix/workaroundv3.1907.1
* 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
Diffstat (limited to 'sisyphus-gui')
-rwxr-xr-x | sisyphus-gui | 6 |
1 files 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 } |