1
0
mirror of synced 2026-01-12 00:42:56 +00:00

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:
Frank Halasz 2023-10-19 17:04:40 -07:00 committed by GitHub
parent db084c6281
commit 45513f563b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -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)

View File

@ -164,6 +164,7 @@
-SecurityTypes None \
-NeverShared \
-DisconnectClients=0 \
-desktop "${title}" \
--MaxDisconnectionTime=10 \
>> ${LOG} 2>&1 &