sofa-framework / sofa

Real-time multi-physics simulation with an emphasis on medical simulation.
https://www.sofa-framework.org
GNU Lesser General Public License v2.1
867 stars 296 forks source link

[runsofa] Allowing multiple argv #4591

Closed EulalieCoevoet closed 1 month ago

EulalieCoevoet commented 1 month ago

We can forward extra args to the python interpreter with the option --argv. This PR allows to do:

runSofa myscene.py --argv arg1,arg2,arg3

instead of

runSofa myscene.py --argv arg1 --argv arg2 --argv arg3

By submitting this pull request, I acknowledge that
I have read, understand, and agree SOFA Developer Certificate of Origin (DCO).


Reviewers will merge this pull-request only if

fredroy commented 1 month ago

[ci-build][with-all-tests]