labs4capella / python4capella

Python for Capella
Eclipse Public License 2.0
52 stars 10 forks source link

Starting python in command line fails if there is additional eclipse argument #179

Closed lfasani closed 2 weeks ago

lfasani commented 1 year ago

Steps to reproduce

Analysis

The issue comes from the fact that Python4CapellaCommandLine get the script path in hard-code way. It gets the third argument instead of being smarter. final String scriptPath = ((String[]) argObject)[2];