Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion run-medley
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,9 @@ while [ "$#" -ne 0 ]; do
shift
;;
-title)
title="$2"
if [ -n "$2" ] ; then
title="$2"
fi
shift
;;
-vmem | --vmem | -vmfile)
Expand Down
2 changes: 1 addition & 1 deletion scripts/medley/medley.command
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ mkdir -p ${LOGINDIR}/vmem
if [[ ( ${darwin} = true ) || (( ${wsl} = false || ${use_vnc} = false ) && ${docker} = false) ]];
then
# If not using vnc, just call run-medley
${MEDLEYDIR}/run-medley -id "${run_id}" ${geometry} ${screensize} ${run_args[@]}
${MEDLEYDIR}/run-medley -id "${run_id}" -title "${title}" ${geometry} ${screensize} ${run_args[@]}
else
# do the vnc thing on wsl or docker
source ${SCRIPTDIR}/medley_vnc.sh
Expand Down
4 changes: 3 additions & 1 deletion scripts/medley/medley_args.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ run_id="default"
screensize=""
sysout_flag=false
sysout_arg=""
title=""
use_vnc=false
windows=false

Expand Down Expand Up @@ -112,7 +113,8 @@ do
;;
-t | --title)
check_for_dash_or_end "$1" "$2"
run_args+=(-title $2)
#run_args+=(-title $2)
title="$2"
shift
;;
-v | --vnc)
Expand Down