Skip to content

Commit 077aac4

Browse files
authored
Remove duplicate startup flags
1 parent ddf3968 commit 077aac4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/engine.jl

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
# Session open & close
66
#
77
###########################################################
8-
const default_startflag = "-nodisplay -nosplash -nodesktop" # no additional flags
9-
const default_matlabcmd = matlab_cmd * " -nodisplay -nosplash -nodesktop"
8+
const default_startflag = "-nodisplay"
9+
const default_matlabcmd = matlab_cmd * " -nosplash -nodesktop"
1010
# pass matlab flags directly or as a Vector of flags, i.e. "-a" or ["-a", "-b", "-c"]
1111
startcmd(flag::AbstractString=default_startflag) =
1212
isempty(flag) ? default_matlabcmd : default_matlabcmd * " " * flag

0 commit comments

Comments
 (0)