The community will be in read-only from Tuesday 11:59pm (PST) to Wednesday 7:30am (PST)
The community will be in read-only from Tuesday 11:59pm (PST) to Wednesday 7:30am (PST)
Project and Portfolio Management Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

Unix syntax from within ITG/Kintana

SOLVED
Go to solution
Highlighted
Greg_Shrout
Collector

Unix syntax from within ITG/Kintana

I'm having trouble executing simple commands from with an ITG execution step (Workflow step commands). I have had limited success using ksc_local_exec, but now I'm trying to do a test for the existence of a non-empty file:
if [ -f /etc/filename ]; then echo hello; fi
Kintana keep failing with this error:
Error creating Process.
if: not found
Any help would be appreciated!
2 REPLIES
Surendra Poosar
Frequent Visitor
Solution

Re: Unix syntax from within ITG/Kintana

Greg,

UNIX commands do not work unless and until you specify a destination environment.
So u need to connect to a unix environment using a ksc_connect statement and in order to execute a script you need to use ksc_begin_script and ksc_end script.
Greg_Shrout
Collector

Re: Unix syntax from within ITG/Kintana

That did it! This was something I didn't know, and your fast response was extremely helpful - Thanks!!
//Add this to "OnDomLoad" event