I am using electric commander on windows.On my windows machine I have ksh shell installed in `C:\ksh.exe`. Now in my step,when I give shell as C:\ksh.exe and command as `ls` it gives error.In the log file it shows :
'"C:\ksh.exe" "C:\Windows\TEMP\ecmdrAgent/agent.5I13OGJ6QGV9P61E.run-187-1212.cmd"': Command not found
I am trying to automate following with ec,which otherwise works on windows command prompt :
C:\>ksh.exe $ ls Intel Users sh.exe.lnk Logs Windows sources Marmalade chrome springsource PerfLogs cygwin ssm Program Files cygwin64 svn Program Files (x86) eclipse temp.txt Quarantine isvn $
Answer by lrochette · Nov 05, 2013 at 11:40 AM
Have you checked the step shell field documentation at http://docs.electric-cloud.com/commander_doc/4_2/Help_4_2_3/help-editstep.htm
Have you tried
C:/ksh.exe -c "{0}.cmd"
Electric Cloud powers Continuous Delivery, helping organizations developing deliver better software faster by automating and accelerating build, test, and deployment processes at scale. Industry leaders like Qualcomm, SpaceX, Cisco, GE, Gap, and E*TRADE use Electric Cloud solutions to boost DevOps productivity and Agile throughput.