[IronPython] engine.Dispose closes the stdout stream

Stute, Detlef ALRT/EEG4 (Fa. epos) Detlef.Stute at al-lighting.com
Wed Nov 29 03:18:18 PST 2006


Hi all,
I redirect the stdout/err ... when I start the python engine


engine = new PythonEngine(eo);

// create stream to get the messages from the python engine
stream = new NotifyingStream();
engine.SetStandardOutput(stream);
engine.SetStandardError(stream);

When I call engine.Dispose() there the streams are closed. Is that the
way the engine should do?
It did not open the streams why does it close them?
Best regards
Detlef Stute
www.seatec-gmbh.com	


More information about the users mailing list