Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
MattE
Creator II
Creator II

tSystem adds extra quote on Ubuntu

Hi,

 

I'm trying to run curl from a Talend job. If i log into the Talend instance and run the curl command it works. However, when i build the same command in a context variable and run it in the cloud, i can see from the log files that tSystem is enclosing the command in single quotes which is stopping it from running.

 

Any ideas how to stop this? 

 

curl command 

curl -X POST -H 'Accept: application/vnd.pagerduty+json;version=2' -d '{ "routing_key": "MY_KEY_GOES_HERE", "event_action": "trigger", "images": [], "links": [], "payload": { "summary": "pagerduty_tester - Test Msg 2", "source": "production", "severity": "info" } }' 'https://events.pagerduty.com/v2/enqueue'

Talend Job

0683p000009MaQ2.png

Screenshot of log file0683p000009MaAA.png

Labels (2)
1 Reply
MattE
Creator II
Creator II
Author

I know i could probably build a sh file dynamically, run it then delete it but this process is trigger by the tLogCatcher and so will be called many times during execution so i don't really want to do that.