Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

When the command is run, the placeholders <node_name> and <full_name> are replaced with a space-separated list of the names of the selected nodes so that the command is performed on all the nodes in one go.

Clicking on the Save button or Options button reveals the panel from which you can save the current command to a list, and clicking on the Saved commands tab switches the editor to the Saved commands tab:

Image Modified

From here, you can do the following:

  • save your current command under a new name; the name will be used in the Custom context sub-menu, and the names must be unique
  • edit existing saved commands
  • duplicate, remove and re-order saved commands
  • recall a saved command into the Command edit line to be modified and run

Running shell commands

This system can also be used to run and save arbitrary shell commands. To do this, simply replace 'ecflow_client' with 'sh', followed by the command and any arguments, for example:

Code Block
sh ls -l

The command will have as its working directory the directory from where ecFlowUI was started. Expressions <node_name> and <full_name> are substituted accordingly. Once the command has run, and output window will appear, from where you can see the stdout and stderr from the command, along with details of and output from the last 20 commands run this session (also available from Tools → Shell command output). This window can be prevented from popping up by using the options in Tools  →  Preferences →  Menus→  Shell commands.