فهرست منبع

Quotation escaping fixes

Scarsz 11 سال پیش
والد
کامیت
66185890e4
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      functions/fn_start

+ 2 - 2
functions/fn_start

@@ -141,8 +141,8 @@ if [ "${tmuxwc}" -eq 0 ]; then
 		echo ""
 		echo ""
 		echo "Command"
 		echo "Command"
 		echo "================================="
 		echo "================================="
-		echo "tmux new-session -d -s "${servicename}" "${executable} ${parms}""
-		echo "tmux new-session -d -s "${servicename}" "${executable} ${parms}"" >> "${scriptlog}"
+		echo "tmux new-session -d -s \"${servicename}\" \"${executable} ${parms}\""
+		echo "tmux new-session -d -s \"${servicename}\" \"${executable} ${parms}\"" >> "${scriptlog}"
 		echo ""
 		echo ""
 		echo "Error"
 		echo "Error"
 		echo "================================="
 		echo "================================="