File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,9 @@ while [ "$#" -ne 0 ]; do
113113 shift
114114 ;;
115115 -title)
116- title=" $2 "
116+ if [ -n " $2 " ] ; then
117+ title=" $2 "
118+ fi
117119 shift
118120 ;;
119121 -vmem | --vmem | -vmfile)
Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ mkdir -p ${LOGINDIR}/vmem
139139if [[ ( ${darwin} = true ) || (( ${wsl} = false || ${use_vnc} = false ) && ${docker} = false) ]];
140140then
141141 # If not using vnc, just call run-medley
142- ${MEDLEYDIR} / run- medley - id "${run_id} " ${geometry} ${screensize} ${run_args[@]}
142+ ${MEDLEYDIR} / run- medley - id "${run_id} " - title " ${title} " ${geometry} ${screensize} ${run_args[@]}
143143else
144144 # do the vnc thing on wsl or docker
145145 source ${SCRIPTDIR} / medley_vnc.sh
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ run_id="default"
2828screensize=" "
2929sysout_flag=false
3030sysout_arg=" "
31+ title=" "
3132use_vnc=false
3233windows=false
3334
112113 ;;
113114 -t | --title)
114115 check_for_dash_or_end " $1 " " $2 "
115- run_args+=(-title $2 )
116+ # run_args+=(-title $2)
117+ title=" $2 "
116118 shift
117119 ;;
118120 -v | --vnc)
You can’t perform that action at this time.
0 commit comments