SystemCaller
Runs a program or operating system command, and waits for it to exit before continuing the translation.
Parameters
To run a program, the command-line parameter must start with the name of a program (.exe on Windows or an executable on Linux/Mac) or batch file (.bat) that is either fully specified or is in the PATH. It can contain additional arguments as well, which are passed as command-line arguments to the program or batch script.
To run multiple operating system commands, use && to delimit commands. For example:
cd c:\temp && dir *.* && pause
cd /Users && ls -l
If paths contain spaces, enclose the path in double quotes, and only on Windows enclose the entire command in double quotes. For example:
""C:\run me\something.exe" -filepath "C:\path here\filename.txt""
/usr/bin/head -n "/path/to/some file.txt"
If an Exit Code Attribute is specified, it will be set to the executed program's exit code: usually 0 for success and nonzero for failure.
Editing Transformer Parameters
Using a set of menu options, transformer parameters can be assigned by referencing other elements in the workspace. More advanced functions, such as an advanced editor and an arithmetic editor, are also available in some transformers. To access a menu of these options, click beside the applicable parameter. For more information, see Transformer Parameter Menu Options.
Transformer Categories
Technical History
Associated FME function or factory: @System
Search FME Community
Search for samples and information about this transformer on the FME Community.