Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi
Using Talend Studio in Mac,
I want to retrieve files from google cloud storage, store it in a local folder and process it further to deploy into DW
I want to create a folder within the job which can be applicable to any OS or system that the job runs.
Ultimate goal is to package this job as docker container and run in Google cloud.
I am trying to create a folder using tsystem command before the file gets downloaded so that it can replicate same action when run as a docker image using "cmd /c mkdir test"
But tsystem component is giving me following error:
tSystem_1 Cannot run program "cmd": error=2, No such file or directory
even for command "cmd /c echo hello"
I tried running the same command via Mac Terminal and it works. Can you please help me how can i solve this?
Hi @sahithi v , I hope this link can help you :
https://community.talend.com/s/article/Using-the-tSystem-component-qr4tU
Send me love and kudos
you can also read this one
https://help.talend.com/r/dYqIo6FAHqeSljA6FsQPXA/jKbJRM3mpRGOPW9bip8ysQ
it show you how to detect the operating system at runtime and so after you can choose window command or unix command in your tSystem component in function of the operating system
I solved the problem by removing cmd /c and directly issuing the command
I'm glad you find a solution.