Home     |     .Net Programming    |     cSharp Home    |     Sql Server Home    |     Javascript / Client Side Development     |     Ajax Programming

Ruby on Rails Development     |     Perl Programming     |     C Programming Language     |     C++ Programming     |     IT Jobs

Python Programming Language     |     Laptop Suggestions?    |     TCL Scripting     |     Fortran Programming     |     Scheme Programming Language

Cervo Technologies
The Right Source to Outsource

MS Dynamics CRM 3.0

Python Programming Language

calling python from msc.adams

Hello all,

i need to call python from msc.adams.
the syntax is
"mdi -c python exit"
I have created a linux script called "run_python" with this content:
mdi -c python $* exit

then a call this script with a command:

run_python script.py param1 param2 .... paramN

Everything looks OK, but the problem is that also the last "exit"
parameter in run_python script is taken as an input into script.py
together with param1 param2 .... paramN. But I need this exit
parameter not to send to python but to mdi.

Is there anybody who could give me any hint of how to do it?
Thank you very much.

Add to del.icio.us | Digg this | Stumble it | Powered by Megasolutions Inc