3 \page running_salome_page Running Salome
5 To run %SALOME, use the python \ref salome_command.
7 Using this command, you DO NOT need to first set-up proper environment for %SALOME; all is done by the command itself.
9 Launch %SALOME session using the following command:
12 salome start [options] [STUDY_FILE] [PYTHON_FILE [args] [PYTHON_FILE [args]...]]
15 Optionally, you can specify in the command line:
16 - Study (document) file to be opened in %SALOME session passing;
17 - One or more Python scripts to be executed after %SALOME
18 start-up. Python scripts will be executed in the new or opened study
19 in the order they appear in the command line. Passing args to these scripts
20 is possible but require a specific \c args: syntax (see \ref salome_command).
22 This command supports large set of options that allow
23 specifying the way to launch %SALOME session. Complete description of
24 all options can be obtained using \c --help or -h option:
30 Here below is a description of most important options:
34 Print detail help information on the command.
38 Print version of %SALOME platform.
42 Launch %SALOME session in GUI mode (with GUI desktop).
44 - \c --terminal or \c -t
46 Launch %SALOME session in terminal mode (without GUI).
48 - \c --resources=<file> or \c -r \c <file>
50 Parse application settings from the <file> instead of default resource
51 file. Default resource file is situated in user's home directory; for
52 example, for %SALOME version 6.5.0, the file is ${HOME}/.config/salome/.SalomeApprc.6.5.0
54 - \c --modules=module1,module2,... or \c -m=module1,module2,...
56 Specify the list of modules which will be used in the %SALOME session
57 being launched. Note, that list of modules is separated be comma
58 symbols, with no any spaces.
62 The servers open in separate terminal window and log messages are displayed in this window.
64 - <code>--embedded=registry,study,moduleCatalog,cppContainer/</code> or
65 <code>-e=registry,study,moduleCatalog,cppContainer</code>
67 Run listed %SALOME servers in the GUI embedded mode (default value is
68 <code>registry,study,moduleCatalog,cppContainer</code>). Note that logger
69 server cannot be embedded to GUI. Note, that this option implies running %SALOME in GUI mode (\c -g
70 option); in terminal mode all servers are running in standalone mode.
72 - <code>--standalone=registry,study,moduleCatalog,cppContainerr</code> or
73 <code>-s=registry,study,moduleCatalog,cppContainer</code>
75 Standalone CORBA servers (default: none).
77 - \c --portkill or \c -p
79 Kill %SALOME session launched with the current port.
81 - \c --killall or \c -k
83 Kill (stop) all running %SALOME sessions before launching new session.
85 - \c --splash=<1/0> or \c -z <1/0>
87 Use 1 to display splash screen [default] at start-up, 0 to disable
88 splash screen. This option is ignored in the terminal mode.
92 Launch with interactive Python console.
94 - <code>--interp=n</code> or <code>-i=n</code>
96 Number of additional Python interpreters to open, with session
97 environment properly set-up.