Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi
I find a topic which is related to this issue https://community.talend.com/t5/Design-and-Development/Will-tSystem-function-with-spaces/td-p/107155.
Regards,
Pedro
Hi,
I've tested this and found another way to pass these paramters containing white spaces. The following worked for me when I entered it inside Commdn parameter of a tSystem component:
new String[] { "./test.sh", "a b c" }
Why? Because the Runtime.Exec function that is called by Talend can handle a String array as parameter as well, instead of a normal String. Any extra parameters can be added as desired.
Hope this helps.
Regards,
Arno