Closed
Description
I found myself in a scenario where I'd like to use scyjava.start_jvm()
, but need the ability to use some of the keyword-only arguments to jpype.startJVM
, like convertStrings
internally, scyjava starts it like this:
def start_jvm(options=None) -> None:
...
# initialize JPype JVM
_logger.debug("Starting JVM")
if options is None:
options = scyjava.config.get_options()
jpype.startJVM(*options, interrupt=True)
which (i think?) only lets you set jvmargs
, but leaves no way to set keyword arguments for jpype.startJVM:
def startJVM(
*jvmargs: str,
jvmpath: typing.Optional[_PathOrStr] = None,
classpath: typing.Union[typing.Sequence[_PathOrStr],
_PathOrStr, None] = None,
ignoreUnrecognized: bool = False,
convertStrings: bool = False,
interrupt: bool = not interactive(),
) -> None:
Metadata
Metadata
Assignees
Labels
No labels