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

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

execute a power shell script via tSystem component in hidden mode

how to execute a power shell script the tsystem component  in hidden window mode

Labels (2)
3 Replies
Anonymous
Not applicable
Author

I have not tried it, but maybe you should read on linux about it. Check https://stackoverflow.com/questions/9190151/how-to-run-a-shell-script-in-the-background-and-get-no-o...

Talend just call the system command, so there is nothing specific in Talend to do.

Anonymous
Not applicable
Author

Thanks @iburtally Here is how i did it

 

cmd /c start powershell -nologo  -noninteractive -command filter.ps1

Anonymous
Not applicable
Author

Hi,
Can you please guide me on the issue.
I need to upload a file to a site. I am using ySystem component to run the powershell.
I get escape character error. I am not able to resolve it.

"cmd /c start powershell -noninteractive C:\\Curl_windows\\src\\curl.exe -H 'X-API-TOKEN:ZLQuFZWY5zekZd' -F 'surveyId=SV_8dpoD2nJ3' -F 'file=@C:\\Logs\\surveyresponseimport.csv;type=text/csv' 'https:\/\/xxx.com\/API\/v3\/responseimports'"

Where am i going wrong?