> >> "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?
> >> >>
> >> >
> >> >
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
> "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?
> >>
> >
> > -
> >
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
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
tatamata wrote:
> Hello.
>
> How can I run some Python script within C# program?
>
-
ProcessStartInfo startInfo;
Process process;
string directory;
string pyArgs;