This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository e16.

View the commit online.

commit e598ae60a53072f31f74635ecf5b9a73e3af73a9
Author: Kim Woelders <k...@woelders.dk>
AuthorDate: Fri Sep 8 20:32:49 2023 +0200

    scripts: Fixes needed due to IPC change a while back
    
    Noted by Milan Maljković.
---
 sample-scripts/bouncingball.py | 4 ++--
 sample-scripts/lcdmover.sh     | 4 ++--
 scripts/e_cache_clean          | 2 +-
 scripts/e_cache_query          | 2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/sample-scripts/bouncingball.py b/sample-scripts/bouncingball.py
index 5e4dd944..1c30c5e0 100755
--- a/sample-scripts/bouncingball.py
+++ b/sample-scripts/bouncingball.py
@@ -12,11 +12,11 @@ import time
 
 
 def EeshExec(cmd):
-    subprocess.run(["eesh", cmd])
+    subprocess.run(['eesh'] + cmd.split())
 
 
 def EeshCall(cmd):
-    sp = subprocess.run(["eesh", "-e", cmd], capture_output=True, encoding='utf8')
+    sp = subprocess.run(['eesh', '-e'] + cmd.split(), capture_output=True, encoding='utf8')
     out = sp.stdout.strip()
 #   print(f'out = "{out}"')
     return out
diff --git a/sample-scripts/lcdmover.sh b/sample-scripts/lcdmover.sh
index 8bafc593..f96a2a1d 100755
--- a/sample-scripts/lcdmover.sh
+++ b/sample-scripts/lcdmover.sh
@@ -26,10 +26,10 @@
 #
 
 # Open dialog 1
-eesh -e "dialog_ok [Dlg1] Move this window"
+eesh -e dialog_ok '[Dlg1]' 'Move this window'
 
 # Open dialog 2
-eesh -e "dialog_ok [Dlg2] Watch me follow the above window"
+eesh -e dialog_ok '[Dlg2]' 'Watch me follow the above window'
 
 # In one endless loop, get window position of the first window, then move the
 # second one accordingly...
diff --git a/scripts/e_cache_clean b/scripts/e_cache_clean
index 21535267..24998ca2 100755
--- a/scripts/e_cache_clean
+++ b/scripts/e_cache_clean
@@ -57,4 +57,4 @@ xpager)
 esac
 
 rm -rf $ECACHEDIR/cached/$dir/* $ECACHEDIR/cached/$dir/.* >/dev/null 2>&1
-eesh -e "dialog_ok $txt purged."
+eesh -e dialog_ok "$txt purged."
diff --git a/scripts/e_cache_query b/scripts/e_cache_query
index c5b65166..a71064fa 100755
--- a/scripts/e_cache_query
+++ b/scripts/e_cache_query
@@ -57,4 +57,4 @@ xpager)
 esac
 
 val=`du -s $ECACHEDIR/cached/$dir | awk '{printf("%s", $1);}'`
-eesh -e "dialog_ok $txt $val Kb of disk space."
+eesh -e dialog_ok "$txt $val Kb of disk space."

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to