diff options
Diffstat (limited to 'test_.lua')
-rwxr-xr-x | test_.lua | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -41,8 +41,8 @@ local options = | |||
41 | _.killEmAll{'jmcore', 'qjackctl'} | 41 | _.killEmAll{'jmcore', 'qjackctl'} |
42 | -- Catia is python, and no easy way to kill it. | 42 | -- Catia is python, and no easy way to kill it. |
43 | -- Also it keeps jackdbus alive, no matter how hard you kill it. | 43 | -- Also it keeps jackdbus alive, no matter how hard you kill it. |
44 | __"pkill -TERM -u $USER -f catia":Do() | 44 | __'pkill -TERM -u $USER -f catia':Do() |
45 | __"sleep 2":Do() | 45 | __'sleep 2':Do() |
46 | _.killEmAll{'jackdbus', 'a2jmidid'} | 46 | _.killEmAll{'jackdbus', 'a2jmidid'} |
47 | ]=] | 47 | ]=] |
48 | end | 48 | end |
@@ -51,10 +51,10 @@ local options = | |||
51 | options['restart'] = options['start'] | 51 | options['restart'] = options['start'] |
52 | options['force-reload'] = options['start'] | 52 | options['force-reload'] = options['start'] |
53 | 53 | ||
54 | print("start = " .. options.start.value) | 54 | print('start = ' .. options.start.value) |
55 | _.parse(arg, options, 'test_') | 55 | _.parse(arg, options, 'test_') |
56 | print("start = " .. options.start.value) | 56 | print('start = ' .. options.start.value) |
57 | print("stop = " .. options.stop.value) | 57 | print('stop = ' .. options.stop.value) |
58 | 58 | ||
59 | 59 | ||
60 | 60 | ||
@@ -112,7 +112,7 @@ print(__[[#!/usr/bin/tcc -run | |||
112 | print('') | 112 | print('') |
113 | 113 | ||
114 | __[[#!/usr/bin/env luajit | 114 | __[[#!/usr/bin/env luajit |
115 | print('Hello ' .. "world " .. [=[from]=] .. " Lua.") | 115 | print('Hello ' .. "world " .. [=[from]=] .. ' Lua.') |
116 | ]]:log():show():Do() | 116 | ]]:log():show():Do() |
117 | print('') | 117 | print('') |
118 | 118 | ||