Python : Split parameters into list of strings

Avoid space in parameters to be sent to ResInsight, always use list of strings
This commit is contained in:
Magne Sjaastad 2022-03-22 10:18:20 +01:00
parent c03252a581
commit 2f2933174b

View File

@ -7,7 +7,7 @@ use_platform_offscreen = True
if use_platform_offscreen:
# To use offscreen, the path to fonts must be specified in the environment variable QT_QPA_FONTDIR="C:/windows/fonts"
resinsight = rips.Instance.launch(
command_line_parameters=["-platform offscreen", "--size", 1200, 1000]
command_line_parameters=["-platform", "offscreen", "--size", 1200, 1000]
)
qpa_fontdir = os.environ["QT_QPA_FONTDIR"]