FDMEE running CalcMgrCmdLineLauncher.sh in linux via Jython script
Hi Experts,
This has been asked already in thread but it got archived without an answer.
I am trying to do the same on a Linux box and still it does not work.
Variations I tried:
Tried 5 ways with below code: 1. without the r, 2. with the r, 3. exported the command to a file using > and the file was always empty, 4. tried shell=True, 5. tried other things not only p.wait() but also p.communicate etc ...
import os
import subprocess
import shutil
os.chdir(r"/u01/app/hyperion/product/Middleware/user_projects/epmsystem1/Planning/planning1")
command=r"CalcMgrCmdLineLauncher.sh -f:/u01/app/hyperion/product/Middleware/user_projects/epmsystem1/Planning/planning1/pass_file.txt /A:Finance /U:admin /D:Care /R:Agg_Act_Data"