Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
I'm trying to design a job which executes a simple command using tSystem. I've tested running this local without any issues but when I run it from Talend Cloud, the job always returns success, even when I specifically execute a bogus command.
tSystem_1 - The command has been executed successfully.
Info2020-04-08 15:55:27
tSystem_1 - Command to execute: '/bin/bash -c 7'.
Any idea what could be going on?
Thanks
I'm not exactly following what you're saying but I'm deploying the job to Talend Cloud and executing the job on a remote engine installed on an EC2 instance.
The job runs fine but the actual command somehow reports success even when it's a completely invalid command.
Has anyone else seen this?
I ended up having to use a tDie with a Runif checking the output ((Integer)globalMap.get("tSystem_1_EXIT_VALUE")) != 0
Thanks!