Command line options
The command line options of the Genero Desktop Client, organized by category.
Option | Parameter | Description |
---|---|---|
-h |
Displays About Box and exits. | |
-V |
||
--Version |
||
-c |
Defines an additional configuration file. See Apply an additional configuration file. | |
--config |
Option | Parameter | Description |
---|---|---|
-n |
Starts a new instance of Genero Desktop Client. | |
--new |
||
-p |
new_port |
Genero Desktop Client will listen on the first
available port starting with new_port .Important: If an instance
is already running, -p has no effect if -n is not
specified. |
--port |
||
-q |
If the expected port (either 6400, or port specified by
--port) is not available, Genero Desktop Client will stop (exit with -1). |
|
-D |
Starts Genero Desktop Client in debug mode, where the debug tree
and debug console are active. When set:
|
|
-A |
security_level |
Sets Genero Desktop Client's security level regarding the Runtime System's connection. |
--Authentication |
||
--listen |
ANY|LOCALHOST|NONE|AUTO |
Specify the network listening mode of the Genero Desktop
Client.
Important: AUTO is the default, which means connections from the outside that are
launched without using the shortcut system will not work anymore. |
Option | Parameter | Description |
---|---|---|
.gdc file |
Starts Genero Desktop Client with the shortcut specified in the .gdc file. If the file contains several shortcuts, it starts with the first alphabetically. See The Shortcut Sysytem. | |
-S |
shortcut_name |
If Genero Desktop Client has not been launched,
Genero Desktop Client will start minimized; then, the shortcut named shortcut_name
will be started. |
--Start |
||
-s |
If Genero Desktop Client has not been launched, Genero Desktop Client will start minimized, using the information given by -U, -H, -T, -P and -C to connect to a DVM. | |
--startDirect |
||
-U |
username |
The specified This option can be used if you share Genero Desktop Client; then each user can create a link to the bin and differentiate the shortcut that will be launched. |
--User |
||
-H |
hostname |
The specified host name will be
used when a Direct Connection
starts with a defined shortcut (with -S), or starts directly (with -s). |
--Host |
||
-P |
password |
The specified password will be
used when a Direct Connection
starts with a defined shortcut (with -S), or starts directly (with -s). |
--Password |
||
-K |
The password specified with -P option will be kept in memory and no longer requested. | |
--KeepPassword |
||
-C |
command_line |
The specified command_line will be
used when a Direct Connection
starts with a defined shortcut (with -S) or starts directly (with -s). |
--Cmd |
||
-T |
connection_type |
Defines which protocol should be used when an
application starts with -s . Values can be: TELNET ,
SSH , SSH2 . Default is SSH2 .Note:
Default is now SSH2. |
--Type |
||
-w |
Defines whether the terminal window is visible
(when --startDirect option is used). The terminal is hidden by default. |
|
--ShowTerminal |
||
-f |
If a password is provided with
--Password , Genero Desktop Client won't display a login box when starting a
shortcut. If you explicitly want the login box to be shown, with password and user pre-entered, use
the -f option. |
|
--ShowFirstLogin |
||
-e |
Allows the user to save the password in a persistent way (It will not be asked again, even if Genero Desktop Client is stopped and restarted). | |
--AllowPersistentSave |
||
-k |
Putty Key file
(.ppk) |
Uses the given Putty Key File as
authentication method when Direct
Connection. |
--PuttyKey |
||
-u |
Genero application
URL |
Starts the HTTP Genero application given by the
URL . |
--url |
||
-g |
remote .gdc
file |
Starts directly the remote .gdc
file . |
--gdcfile |
Option | Parameter | Description |
---|---|---|
-a |
Starts the GDC in admin mode. When set:
|
|
--admin |
||
-c |
Defines an additional configuration file. See Apply an additional configuration file. | |
--config |
||
--language |
locale |
Starts the GDC with the specified locale. While the locale can be any locale code, the GDC is only translated for these locales:
If the locale option is not specified, either language saved in stored settings or the locale from the operating system is used. Ideally, the correct language
code will be provided, however the GDC will attempt to search for the corresponding language tag.
For example, " Setting the locale using the
--language option also affects:
For more information, see Set the language for the GDC monitor. |
-M |
Starts the GDC minimized. | |
--Minimized |
||
-i |
Starts the GDC with ignore Stored Settings on. | |
--ignoreSettings |
||
-X |
Closes the GDC if there is no longer an application or terminal running. | |
--close |
Option | Parameter | Description |
---|---|---|
-l |
Log file |
Starts Genero Desktop Client and replays the given Log File |
--logplay |
||
-L |
Log file directory |
Starts Genero Desktop Client and replays all the
Log Files inside a
givendirectory |
--logdir |
||
-r |
Log file
or no parameter |
Starts Genero Desktop Client, records a log, and
saves the given Log File .If specified without a parameter, the GDC creates an automatic log name at startup. Allowing the GDC to create the log name saves the need to compute a log name and prevents the overriding of old log files. The log file name is saved in $AppDataDir/Four Js/Genero Desktop Client/<version>/ directory. The format of the file name is <computer_name>_<timestamp>.log. For
example:
AppDataDir
directories.For more information on creating logs for debugging with the GDC, see Using the logging system. |
--logrec |
||
-t |
delay |
By default, replays Log Files at their recording speed. You can
change the delay (in milliseconds) between the steps.Important: A delay
that is too small will overcharge Genero Desktop Client. Please consider 100 milliseconds as the
smallest acceptable value. |
--logtimeout |
macOS™ users
- Start the terminal application (Applications, Utilities) then enter:
./Applications/gdc.app/Contents/MacOS/gdc command_line
. macOS™ expects the path to be absolute and not relative. - Using the following Apple® Script:
do shell script "./Applications/gdc.app/Contents/MacOS/gdc command_line"
Warnings
- The
-S
and-s
options must be used separately;-S
is used to start an existing shortcut, and-s
to start an application using the command line. - When using
-s
, you must specify at least the host and the command line. The username and password will be prompted if needed. - Even if you're using the
-q
option, Genero Desktop Client will first check whether another instance is already running. If you really want your Genero Desktop Client instance to stop if the port is not available, use-n
and-q
together. Using-q
alone will stop Genero Desktop Client if the port is not free and not being used by another Genero Desktop Client.