Extend changes made in PR#1356 to medley/sh et al to handle -title arguments with space; extend to handle vnc case and well as without vnc case. (#1358)
This commit is contained in:
@@ -28,7 +28,7 @@ run_id="default"
|
|||||||
screensize=""
|
screensize=""
|
||||||
sysout_flag=false
|
sysout_flag=false
|
||||||
sysout_arg=""
|
sysout_arg=""
|
||||||
title=""
|
title="Medley Interlisp"
|
||||||
use_vnc=false
|
use_vnc=false
|
||||||
windows=false
|
windows=false
|
||||||
|
|
||||||
@@ -113,8 +113,7 @@ do
|
|||||||
;;
|
;;
|
||||||
-t | --title)
|
-t | --title)
|
||||||
check_for_dash_or_end "$1" "$2"
|
check_for_dash_or_end "$1" "$2"
|
||||||
#run_args+=(-title $2)
|
if [ -n "$2" ]; then title="$2"; fi
|
||||||
title="$2"
|
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
-v | --vnc)
|
-v | --vnc)
|
||||||
|
|||||||
@@ -164,6 +164,7 @@
|
|||||||
-SecurityTypes None \
|
-SecurityTypes None \
|
||||||
-NeverShared \
|
-NeverShared \
|
||||||
-DisconnectClients=0 \
|
-DisconnectClients=0 \
|
||||||
|
-desktop "${title}" \
|
||||||
--MaxDisconnectionTime=10 \
|
--MaxDisconnectionTime=10 \
|
||||||
>> ${LOG} 2>&1 &
|
>> ${LOG} 2>&1 &
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user