Download RCE User Guide

Transcript
Usage
conservatively to not hide any existing workflow design errors. So, if queuing of input values is
allowed for an input, just change the input handling option to Queue (Consumed) after the workflow
was updated. Another issue can affect the migration of Optional. If it affects an input of the script
component, check the option, which let the script component execute on each new value at any of its
inputs. Also check Not required as an alternative execution constraint option.
4. Commands
This section introduces the list of commands available for the command line and the interactive shell.
4.1. Command Line Parameters
General syntax
>
rce --[RCE arguments] -[RCP arguments] -[VM arguments]
Table 3.1. Command line arguments for RCE
Argument
Type
Description
profile "<profile id or path>"
RCE
Sets a custom profile folder to use. If only an id (any
valid directory name) is given, the profile directory
"<user home>/.rce/id" is used. Alternatively, a full
filesystem path can be specified.
batch "<command string>"
RCE
Behaves like the "exec" command, but also implies the
"--headless" option and always shuts down RCE after
execution.
headless
RCE
Starts RCE in a headless modus without GUI. It will
remain in the OSGi console and waits for user input.
exec "<command string>"
RCE
Executes one or more shell commands defined by
<command string>. For the list of available commands,
refer to the command shell documentation. This
argument is usually used together with --headless to
run RCE in batch mode. Multiple commands can be
chained within <command string> by separating them
with " ; " (note the spaces); each command is completed
before the next is started.
You can use the "stop" command at the end of the
command sequence to shut down RCE after the other
commands have been executed. However, any error
during execution of these commands will cancel the
sequence, and prevent the "stop" command from
being executed. To ensure shut down at the end of the
command sequence, use the --batch option instead
of "--exec".
As an example, rce --headless --exec
"wf run example.wf ; stop" will execute
the "example.wf" workflow in headless mode and
then shut down RCE. However, if the workflow
fails to start, RCE will keep running, as the "stop"
command is never executed. To attempt execution of
the workflow file, but then always shut down regardless
17