diff --git a/templates/create_formula/languages/go/build.sh b/templates/create_formula/languages/go/build.sh index ddd3b962..6a319664 100755 --- a/templates/create_formula/languages/go/build.sh +++ b/templates/create_formula/languages/go/build.sh @@ -41,7 +41,7 @@ BIN_WINDOWS=$BIN_FOLDER_WINDOWS/$BIN_NAME.exe { echo "@ECHO OFF" echo "SET mypath=%~dp0" - echo "start /B /WAIT %mypath:~0,-1%/windows/main.exe" + echo "start /B /D "%mypath%" /WAIT windows\main.exe" } >> $BAT #docker: