If the launcher is located in a directory with a path that contains a space (e.g. C:\Users\SomeUser\Dir With Space\venv\Lib\site-packages\openapi_generator_cli) the call to the jar would fail:
Error: Unable to access jarfile C:\Users\SomeUser\Dir
Fixed the issue by surrounding jar_path with double quotes.
If the launcher is located in a directory with a path that contains a space (e.g.
C:\Users\SomeUser\Dir With Space\venv\Lib\site-packages\openapi_generator_cli
) the call to the jar would fail:Error: Unable to access jarfile C:\Users\SomeUser\Dir
Fixed the issue by surrounding jar_path with double quotes.