Let's think about this more and see if we can come up with a clean design.


On Tue, Mar 12, 2013 at 4:00 AM, Kristian Hellang
<notifications@github.com>wrote:

> In src/ScriptCs.Core/Wrappers/SessionWrapper.cs:
>
> > @@ -29,7 +34,14 @@ public Session WrappedSession
> >
> >          public object Execute(string code)
> >          {
> > -            return _session.Execute(code);
> > +            object result = null;
> > +
> > +            var thread = new Thread(() => result = _session.Execute(code));
>
> I haven't tried it, but I guess it would work... You could just wrap this
> line <https://github.com/scriptcs/scriptcs/pull/94/files#L1R26> with the
> threading code above. But I really think it makes the "scripting
> experience" a little less smooth.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/scriptcs/scriptcs/pull/94/files#r3332934>
> .
>