openMSL / sl-3-1-osc-alks-scenarios

ALKS scenario interpretation in OpenSCENARIO
https://www.asam.net/standards/detail/openscenario-xml/
Other
111 stars 20 forks source link

Usage of environment variables / Missing options to manually set filepath in "run_Scenarios.bat" #31

Closed LudwigFriedmann closed 3 years ago

LudwigFriedmann commented 4 years ago

While I see the benefit in using environment variables in "run_Sceanrios.bat", defining or changing them requires administrative rights on Windows machines.

The usability of the script could be improved by adding options that allow the user to set the directory path manually, e.g. do a SET ESMINI=My\Path\to\esmini\binary\directory or a SET OPENPASS=My\Path\to\openpass\binary\directory

A script for linux based systems (as reqested in #27 ), should provide the same functionality ... ;)

arauschert commented 4 years ago

Thanks for the comment. You can also define and change environment variables for each user on a windows machine, which doesn´t require administrative rights. That´s how I did it. Please try and let me know, if it works for you.

LudwigFriedmann commented 4 years ago

Sorry I missed that user specific environment variables were moved in Win10. I thought they simply no longer exist :D Nevertheless, being able to manually specify the path may be helpful ...

arauschert commented 3 years ago

Agreed with Ludwig to close the issue since a suitable solution exists.