executing .cmd file from FDMEE
I am trying to call .cmd file from FDMEE(11.1.2.4) using jython script. I got the following error:
This is my script
os.chdir(sBatchScriptDir)
sCmd = sBatchScriptDir + sScriptName > sBatchLogDir + sScriptLogName
p = subprocess.Popen(sCmd)
retcode = p.wait()
got the following error :
2015-09-14 12:53:07,513 FATAL [AIF]: Error in CommProcess.executeCustomScript
Traceback (most recent call last):
File "<string>", line 59, in executeCustomScript
File "<string>", line 522, in executeCustomScript
File "<string>", line 564, in executeJythonScript
File "\\spath/scripts/custom/PBatch_.py", line 150, in <module>
p = subprocess.Popen(sCmd,shell =False)
File "__pyclasspath__/subprocess.py", line 755, in __init__
File "__pyclasspath__/subprocess.py", line 1231, in _execute_child
TypeError: 'bool' object is not iterable