Hello Bob,

The question is, do you want to run it in the same way you would launch any command line application from C# and collect the results from standard out - or do you want to embed IronPython and run the script 'inside' your application?

If the former then you can use System.Process to launch the script with IronPython. You will need to download (rather than install) and launch the script with 'ipy.exe args...'.

If the latter then how you do it depends on whether you use IronPython 1 or 2 and what exactly your use case is.

Michael Foord
http://www.ironpythoninaction.com/

Bob Rosembob wrote:
Hello there,
I have a C# application and a 3rd party Python script that the application should run. The script is called periodical with some arguments, performs some calculations and returns the results. I'm running Vista & VS2005. What should I do to run the script from my application? I assume I need to install IronPython on my PC. How exactly should I do it? Thanks for your help. Bob

------------------------------------------------------------------------

_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to