Ah- good catch Dino. Didn't see a "Started," so I failed to notice the
"Finished." was actually printing ;)
It appears that, as with the bit of code that provoked this test, start() is
not being executed by BeginInvoke.
Thread.Sleep(2) still drops to "Finished" as soon as the script starts.
An
Where'd the call to Console.ReadLine go? That's the reason you don't see
Finished printing... On 1.1 and 2.0B2 from the console or in a file w/ a call
to Console.ReadLine or raw_input I end up seeing finished getting printed.
We're simply exiting before the asynchronous operation but that doe
The C# sample runs as expected, displaying 'Started. Finished.', but the ipy
does nothing.
Can someone enlighten me as to the difference? I assume it is something to
do with the way functions are represented in ipy vs. what methodinvoker is
looking for,
but I'm honestly lost.
C#:
class foo
{
Wow! Can't believe I missed those methods, i'll have another look at
using those now. Sorry :)
Thanks
Ben
On Tue, May 13, 2008 at 5:20 PM, Dino Viehland
<[EMAIL PROTECTED]> wrote:
> Bill's still working on getting the hosting spec up to date but hopefully
> there'll be a refresh soon.
>
> For
Bill's still working on getting the hosting spec up to date but hopefully
there'll be a refresh soon.
For ScriptIO you can call the Set* methods on the ScriptIO object directly -
SetOutput, SetErrorOutput, SetInput. There's various overloads that take
streams or text writers so that you can
Hello,
I'm currently playing around with some code involing the ScriptRuntime
and executing code blocks of code. What I want, is to be able to
redirect the output from the script. For example, if a user types
Print 'Hello World' I want it to be redirected to my outputting
stream.
To start with,