Can't call an exe File over TI Process
Posted: Mon Mar 12, 2012 3:01 pm
Dear all,
I hope that someone her can help me. Follwoing PRoblem i have. I want to start an .exe File over TurboINtegrator Process. I use following Syntax for it.
ExecuteCommand('C:\Programme\MDRApps\SMTPSEND\smtpsend.exe', 0);
If I run this Process i get the answer "Proccess completed successfully" but nothing happens.?
The next thing is, if i find a way to start the smtpsend.ece file i want to attach the right error . Here i complete sample i found in internet based on another .exe File
ExecuteCommand('"C:\Program Files (x86)\Serwise AG\Notification Message_v2.1.4\SendNotificationMessage.exe" -lld "D:\TM1 Log\Development 1" -c "Error in server development 2 process ' | prc | '" -m "Error in process ' | name | ' !" -p1 ' | NumberToString(ret), 1);
In final in
My Process is now as follow:
################################################# (modified by KOC, activated by KOC)
#*** Load_DIM_All_3_0_C_FAP_Attributes
#*** Jump to Process DIM_All_3_0_C_FAP_Attributes
prc = 'Load_DIM_All_3_0_C_FAP_Attributes';
name = 'Load_DIM_All_3_0_C_FAP_Attributes';
ret = ExecuteProcess(prc, 'pCube', vBasisCube);
# if(ret <> ProcessExitNormal());
# ExecuteCommand('"C:\Program Files (x86)\Serwise AG\Notification Message_v2.1.4\SendNotificationMessage.exe" -lld "D:\TM1 Log\Development 1" -c "Error in server development 2 process ' | prc | '" -m "Error in process ' | name | ' !" -p1 ' | NumberToString(ret), 1);
# endif;
Hope for help and many thanks in advanced
Chris
I hope that someone her can help me. Follwoing PRoblem i have. I want to start an .exe File over TurboINtegrator Process. I use following Syntax for it.
ExecuteCommand('C:\Programme\MDRApps\SMTPSEND\smtpsend.exe', 0);
If I run this Process i get the answer "Proccess completed successfully" but nothing happens.?
The next thing is, if i find a way to start the smtpsend.ece file i want to attach the right error . Here i complete sample i found in internet based on another .exe File
ExecuteCommand('"C:\Program Files (x86)\Serwise AG\Notification Message_v2.1.4\SendNotificationMessage.exe" -lld "D:\TM1 Log\Development 1" -c "Error in server development 2 process ' | prc | '" -m "Error in process ' | name | ' !" -p1 ' | NumberToString(ret), 1);
In final in
My Process is now as follow:
################################################# (modified by KOC, activated by KOC)
#*** Load_DIM_All_3_0_C_FAP_Attributes
#*** Jump to Process DIM_All_3_0_C_FAP_Attributes
prc = 'Load_DIM_All_3_0_C_FAP_Attributes';
name = 'Load_DIM_All_3_0_C_FAP_Attributes';
ret = ExecuteProcess(prc, 'pCube', vBasisCube);
# if(ret <> ProcessExitNormal());
# ExecuteCommand('"C:\Program Files (x86)\Serwise AG\Notification Message_v2.1.4\SendNotificationMessage.exe" -lld "D:\TM1 Log\Development 1" -c "Error in server development 2 process ' | prc | '" -m "Error in process ' | name | ' !" -p1 ' | NumberToString(ret), 1);
# endif;
Hope for help and many thanks in advanced
Chris