Skip to content

Commit 10b3298

Browse files
authored
Merge pull request #605 from mkilgore/fix-mac-os
Fix running executables on Mac OS
2 parents c0b43e5 + 73b2896 commit 10b3298

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/qb64pe.bas

+1-1
Original file line numberDiff line numberDiff line change
@@ -927,7 +927,7 @@ IF C = 9 THEN 'run
927927
' We have to use a separate script to be able to set environment variables for the program
928928
ExecuteLine$ = "open -b com.apple.terminal " + _CHR_QUOTE + tmpdir$ + "log.command" + _CHR_QUOTE
929929
ELSE
930-
ExecuteLine$ = ExecuteName$
930+
ExecuteLine$ = QuotedFilename$(ExecuteName$) + ModifyCOMMAND$
931931
END IF
932932
ELSEIF os$ = "WIN" THEN
933933
IF GetRCStateVar(ConsoleOn) OR LoggingEnabled THEN

0 commit comments

Comments
 (0)