Project and Portfolio Management Practitioners Forum
cancel

Unix syntax from within ITG/Kintana

SOLVED
Go to solution
Highlighted
Greg_Shrout
Super Contributor.

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
Honored Contributor.
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
Super Contributor.

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!!