The shell command must exit with an exit code of 0 if successful. All other exit codes will be treated as an operation failure.
The RunExpect operation executes an Expect script on the target host. The Expect utility provides a scripting language that makes it easy to automate interactions with programs which can normally only be used interactively, such as ssh. The Delphix Engine includes a platform-independent implementation of a subset of the full Expect functionality.
The script is run on the target environment as the environment user from their home directory. All output of the script is captured by the Delphix Engine and logged. If the operation fails, the output is displayed in the Delphix Admin web application and CLI to aid in debugging.
The script must exit with an exit code of 0 if successful. All other exit codes will be treated as an operation failure.