<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: how to run job with tsystem component with command line arguments in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/how-to-run-job-with-tsystem-component-with-command-line/m-p/2286479#M60101</link>
    <description>Hi
&lt;BR /&gt;If you want to pass context_param into sh script, the String[] should be like this.
&lt;BR /&gt;new String[]{"/bin/bash","-c","/home/revanth/test.sh --context_param new1=revanth --context_param new2=raja"}
&lt;BR /&gt;or
&lt;BR /&gt;new String[]{"/bin/bash","-c","/home/revanth/test.sh"+context.new1+context.new2}
&lt;BR /&gt;Regards,
&lt;BR /&gt;Pedro</description>
    <pubDate>Tue, 26 Jun 2012 03:08:10 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-06-26T03:08:10Z</dc:date>
    <item>
      <title>how to run job with tsystem component with command line arguments</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-run-job-with-tsystem-component-with-command-line/m-p/2286478#M60100</link>
      <description>hi,
&lt;BR /&gt;I have one script file name "test.sh", with 2 command line args as 
&lt;BR /&gt;. /home/revanth/test.sh revanth raja
&lt;BR /&gt;i gave in tsystem component 
&lt;BR /&gt;new String[]{"/bin/bash","-c",". /home/revanth/test.sh", context.arg1,context.arg2}
&lt;BR /&gt;given argument values revanth and raja through contexts.
&lt;BR /&gt;but when run this job in unix it won't give any result (it simply running for a long time more than 20 mins and so i have killed it)
&lt;BR /&gt;how to run this job</description>
      <pubDate>Mon, 25 Jun 2012 13:42:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-run-job-with-tsystem-component-with-command-line/m-p/2286478#M60100</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-06-25T13:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: how to run job with tsystem component with command line arguments</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-run-job-with-tsystem-component-with-command-line/m-p/2286479#M60101</link>
      <description>Hi
&lt;BR /&gt;If you want to pass context_param into sh script, the String[] should be like this.
&lt;BR /&gt;new String[]{"/bin/bash","-c","/home/revanth/test.sh --context_param new1=revanth --context_param new2=raja"}
&lt;BR /&gt;or
&lt;BR /&gt;new String[]{"/bin/bash","-c","/home/revanth/test.sh"+context.new1+context.new2}
&lt;BR /&gt;Regards,
&lt;BR /&gt;Pedro</description>
      <pubDate>Tue, 26 Jun 2012 03:08:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-run-job-with-tsystem-component-with-command-line/m-p/2286479#M60101</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-06-26T03:08:10Z</dc:date>
    </item>
  </channel>
</rss>

