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:
parent
db084c6281
commit
45513f563b
@ -28,7 +28,7 @@ run_id="default"
|
||||
screensize=""
|
||||
sysout_flag=false
|
||||
sysout_arg=""
|
||||
title=""
|
||||
title="Medley Interlisp"
|
||||
use_vnc=false
|
||||
windows=false
|
||||
|
||||
@ -113,8 +113,7 @@ do
|
||||
;;
|
||||
-t | --title)
|
||||
check_for_dash_or_end "$1" "$2"
|
||||
#run_args+=(-title $2)
|
||||
title="$2"
|
||||
if [ -n "$2" ]; then title="$2"; fi
|
||||
shift
|
||||
;;
|
||||
-v | --vnc)
|
||||
|
||||
@ -164,6 +164,7 @@
|
||||
-SecurityTypes None \
|
||||
-NeverShared \
|
||||
-DisconnectClients=0 \
|
||||
-desktop "${title}" \
|
||||
--MaxDisconnectionTime=10 \
|
||||
>> ${LOG} 2>&1 &
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user