Controlling Python application with C# -


hey, issue addressed before not in angle. i'm trying control python application c#. application runs unknown time , need hold main c# application form until "knows" when python application done processing. should mark python application has own gui i'm trying keep. far, i've used:

processstartinfo processstart= new system.diagnostics.processstartinfo(@app); processstart.windowstyle = system.diagnostics.processwindowstyle.hidden; processstart.useshellexecute = false; processstart.redirectstandardoutput = true; processstart.createnowindow = true; process myprocess = process.start(processstart); 

then send couple of "sendkey" methods including tab , enter. furthermore, can infer code i'm trying make entire python process hidden – did succeed in open\close python application didn't succeed in controlling @ all. suggestions?

redirect stdin , push characters in way (rather sendkeys)?


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -