Command line options
Command line optionsPosted by Arkajyoti Misra at August 14. 2012
I run Salome from the terminal like this:
~/salome/appli_V6_4_0/runAppli -t -u main.py
The input parameters for the geometry is read from an input file. The name of the input file is hard coded in main.py which creates a problem for batch jobs. Is there a way to pass on the input file name on the command line?
Re: Command line optionsPosted by Saint Michael at August 15. 2012
It's impossible to pass script arguments via runAppli args. As a workaround you can pass your file name via an environment variable.
Re: Command line optionsPosted by Arkajyoti Misra at August 20. 2012
Re: Command line optionsPosted by Jon Shimwell at Friday 12:25
salome scriptname.py args:1.6180,golden
which would pass two arguments (1.6180,golden) to the python script
further details can be found in the help section, type "salome -help -start" into the terminal