You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 30, 2021. It is now read-only.
# important: while loops are executed in a subshell
203
-
# var assignments will be lost unless using <<<
204
-
# using 11.0 12.3 1.8 and so on didn't work, left as a reference
205
-
#local pythonCmd="from random import shuffle;list1 = list(range($MAX_DISPLAY_SEARCH));shuffle(list1);list2 = [x/10 for x in list1];str_res = ' '.join(str(e) for e in list2);print (str_res)"
206
-
local pythonCmd="from random import shuffle;list1 = list(range($MAX_DISPLAY_SEARCH));shuffle(list1);print (' '.join(str(e) for e in list1))"
207
-
local displayNums=$(python -c "${pythonCmd}")
208
-
# Always find a free DISPLAY port starting with current DISP_N if it was provided
#important: while loops are executed in a subshell
201
+
# var assignments will be lost unless using <<<
202
+
# using 11.0 12.3 1.8 and so on didn't work, left as a reference
203
+
# local pythonCmd="from random import shuffle;list1 = list(range($MAX_DISPLAY_SEARCH));shuffle(list1);list2 = [x/10 for x in list1];str_res = ' '.join(str(e) for e in list2);print (str_res)"
204
+
local pythonCmd="from random import shuffle;list1 = list(range($MAX_DISPLAY_SEARCH));shuffle(list1);print (' '.join(str(e) for e in list1))"
205
+
localdisplayNums=$(python -c "${pythonCmd}")
206
+
# Always find a free DISPLAY port starting with current DISP_N if it was provided
0 commit comments