Re: starting some Python script from C#

2006-05-30 Thread Gerard Flanagan
> >> "Gerard Flanagan" <[EMAIL PROTECTED]> je napisao u poruci interesnoj > >> grupi:[EMAIL PROTECTED] > >> > tatamata wrote: > >> >> Hello. > >> >> > >> >> How can I run some Python script within C# program? > >> >> > >> > > >> >

Re: starting some Python script from C#

2006-05-29 Thread tatamata
Hello. It seems that the following code works. And it seems that Process object can automatically run script by using python.exe, but only if standard output is not redirected... /* * Created by SharpDevelop. * User: Zlatko * Date: 28.5.2006 * Time: 9:38 * * To change this template use Too

Re: starting some Python script from C#

2006-05-28 Thread Gerard Flanagan
> "Gerard Flanagan" <[EMAIL PROTECTED]> je napisao u poruci interesnoj > grupi:[EMAIL PROTECTED] > > tatamata wrote: > >> Hello. > >> > >> How can I run some Python script within C# program? > >> > > > > - > >

Re: starting some Python script from C#

2006-05-28 Thread tatamata
Hello. I tried to implement ypour suggestion, but an error apears: "Exception System.ComponentModel.Win32Exception was thrown in debugee: The specified executable is not a valid Win32 application. StartWithCreateProcess() Start() Start() Main() - c:\Documents and Settings\Zlatko\My Documents\Sharp

Re: starting some Python script from C#

2006-05-27 Thread tatamata
thanks. "Gerard Flanagan" <[EMAIL PROTECTED]> je napisao u poruci interesnoj grupi:[EMAIL PROTECTED] > tatamata wrote: >> Hello. >> >> How can I run some Python script within C# program? >> > > - >ProcessS

Re: starting some Python script from C#

2006-05-27 Thread Gerard Flanagan
tatamata wrote: > Hello. > > How can I run some Python script within C# program? > - ProcessStartInfo startInfo; Process process; string directory; string pyArgs;