Runs a program or operating system command, and waits for it to exit before continuing the translation.
To run a program, the command-line parameter must start with the name of a program (.exe) 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 on Windows, use && to delimit commands. For example:
cd c:\temp && dir *.* && pause
If paths contain spaces, enclose the path in double quotes, and the entire command in double quotes. For example:
" "C:\run me\something.exe" -filepath "C:\path here\filename.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.
Search FME Knowledge Center
Search for samples and information about this transformer on the FME Knowledge Center.