Running a special linux command in talend

Six Stars

Running a special linux command in talend

Hello,

 

So I am trying to run a linux command in talend. The command contains : and "" (i.e. colons and quotations in it -- it is a curl command). I tried running it in tsystem and tssh but the "" in the command is throwing it off and giving an error. How can I run this command. Any help would be greatly appreciated.


Accepted Solutions
Employee

Re: Running a special linux command in talend

Hi,

 

    Since the underlying framework for Talend is java, you will have to use \" to mark the double quotes as part of the command. It will make sure that command will be working perfectly.

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved :-)

View solution in original post


All Replies
Employee

Re: Running a special linux command in talend

Hi,

 

    Since the underlying framework for Talend is java, you will have to use \" to mark the double quotes as part of the command. It will make sure that command will be working perfectly.

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved :-)

View solution in original post

Employee

Re: Running a special linux command in talend

@sai06kiran

 

   Could you please mark the topic as answered if my replied has helped you to identify the problem?

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved :-)

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 2

Part 2 of a series on Context Variables

Blog

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog