From e4d51e4c5904895dd599d099e857ccebdf1714fc Mon Sep 17 00:00:00 2001 From: dvs1 Date: Tue, 22 Oct 2024 13:51:59 +1000 Subject: Lots of little tweaks about how _ works. --- test_.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'test_.lua') diff --git a/test_.lua b/test_.lua index 5e914b4..629c151 100755 --- a/test_.lua +++ b/test_.lua @@ -74,10 +74,10 @@ end local GUI = 'qjackctl' -if _.exists'catia' then GUI = 'catia' end +if _.runnable'catia' then GUI = 'catia' end local speaker = 'espeak' -if _.exists'espeak-ng' then speaker = 'espeak-ng' end +if _.runnable'espeak-ng' then speaker = 'espeak-ng' end @@ -114,3 +114,5 @@ print(__'exit 42':log():show():Do().status) print(__'return 42':log():show():Do().status) print(__'command NoSuchCommand':log():show():Do().status) +__'qpdfview':forkOnce() +__'qpdfview':forkOnce() -- cgit v1.1