mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-11 16:06:04 -06:00
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:
parent
8b01a7c7f9
commit
6a7e729886
@ -7,7 +7,7 @@ use_platform_offscreen = True
|
|||||||
if use_platform_offscreen:
|
if use_platform_offscreen:
|
||||||
# To use offscreen, the path to fonts must be specified in the environment variable QT_QPA_FONTDIR="C:/windows/fonts"
|
# To use offscreen, the path to fonts must be specified in the environment variable QT_QPA_FONTDIR="C:/windows/fonts"
|
||||||
resinsight = rips.Instance.launch(
|
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"]
|
qpa_fontdir = os.environ["QT_QPA_FONTDIR"]
|
||||||
|
Loading…
Reference in New Issue
Block a user