File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change 1- # Copyright 2020-2023 The MathWorks, Inc.
1+ # Copyright 2020-2024 The MathWorks, Inc.
22
3- from pathlib import Path
43import os
54import shutil
65import socket
76import ssl
87import tempfile
98import uuid
109import xml .etree .ElementTree as ET
10+ from pathlib import Path
1111
1212import matlab_proxy
1313from matlab_proxy import constants
@@ -350,11 +350,9 @@ def get_matlab_settings():
350350 )
351351 matlab_lic_mode = ["-licmode" , "file" ] if nlm_conn_str else ""
352352 # flag to hide MATLAB Window
353- flag_to_hide_desktop = (
354- ["-noDisplayDesktop" , "-wait" , "-log" ]
355- if system .is_windows ()
356- else ["-nodesktop" ]
357- )
353+ flag_to_hide_desktop = ["-nodesktop" ]
354+ if system .is_windows ():
355+ flag_to_hide_desktop .extend (["-noDisplayDesktop" , "-wait" , "-log" ])
358356 matlab_startup_file = str (Path (__file__ ).resolve ().parent / "matlab" / "startup.m" )
359357
360358 matlab_version = get_matlab_version (matlab_root_path )
You can’t perform that action at this time.
0 commit comments