Element Details: Execute.OS+Command
 Back


Available in: Logi Info Source code name: Execute.OsCommand

Run operating system command or application. You may pass in command line parameters.

The default value for the Timeout attribute is 30 seconds. An error is thrown when the Timeout period is exceeded.

The @Etl.myOsCommandID.rdExitCode~ token can be used to access the exit code.

Reserved exit codes:
-100 = The command has timed out.
-101 = Command run in background, no exit code.
-102 = Exception error when trying to run command.




ATTRIBUTES

Click attribute Name to drill down for more information.

NamePossible ValuesDescription
CommandParameters
UserDefined
The command arguments added to the operating system command.
CommandProgram
UserDefined
(Required) The name of an application file to run.
ID
UserDefined
(Required) The ID attribute is a pervasive attribute that uniquely identifies an element within a definition file. The ID needs to be a unique value within the definition.
Timeout
UserDefined
The length of time, in seconds, to wait for an action to complete before a timeout error occurs. If the time is set to 0, then the job will wait until the request completes.
WaitForExit
UserDefined
By setting this to False the system will start the process but not wait it to complete. Result codes are only available if the system waits for the external process to complete. Defaults to True.



PARENT ELEMENTS

Click element to drill down for more information.

Etl Job
If
If ETL Error
If File Exists
If Folder Exists Loop.Data Layer Rows


CHILD ELEMENTS

Click element to drill down for more information.

If ETL Error


 Back to top