[IronPython] Redirecting Input

2010-03-04 Thread Aravin
Hi all, In my application, I have a shell like control for users to interact with tan embedded python engine. When the user enters some command and presses , I use, _engine.CreateScriptSourceFromString(code, SourceCodeKind .InteractiveCode).Execute(_globalScope); to execute the command. I have r

Re: [IronPython] Redirecting input/output in IronPython 2.x

2008-04-17 Thread Dino Viehland
both text and binary output for scenarios such as PHP wanting to print a JPG. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Seruyange Sent: Thursday, April 17, 2008 10:59 AM To: IronPython IronPython Subject: [IronPython] Redirecting input/output in IronPython 2.x Hey eve

[IronPython] Redirecting input/output in IronPython 2.x

2008-04-17 Thread David Seruyange
Hey everyone, looking at a lot of the samples online I see the following: pythonEngine.SetStandardError(s); pythonEngine.SetStandardOutput(s);where s is some stream. The Python Engine doesn't seem to support that method when I make a reference to IronPython 2.0. Am I missing someth