[MonoDevelop] F# addin

Vasili I. Galchin vigalchin at gmail.com
Sun Mar 21 02:42:59 EDT 2010


Hi Nikhil,

    If you want to help me at this point, you can am make suggestions
on why I am not getting a process exit event from fsc

...MonoDevelop.Core.Execution:ProcessWrapper.cs =>

                public void WaitForOutput (int milliseconds)
                {
                        CheckDisposed ();
                        WaitForExit (milliseconds);   <<<< why am I
potentially not getting this event??
                        WaitHandle.WaitAll (new WaitHandle[]
{endEventOut});  << OR maybe this??
                }

                public void WaitForOutput () <<<<<
                {
                        WaitForOutput (-1);    <<<<< no timeout!!!!!
                }


The above method (the lower overloaded method) is called from
FSharpBindingCompilerManager.cs (my version of the CSharp .cs!):

LoggingService.LogInfo("KICK OFF FSC!!");  // WNH

                        MonoDevelop.Core.Execution.ProcessWrapper pw =
Runtime.ProcessService.StartProcess (pinfo, outwr, errwr, null);
LoggingService.LogInfo("Kicked off!");  // WNH
                        pw.WaitForOutput();
LoggingService.LogInfo("after wait!");  // WNH    <<<< I never receive this


I am currently using:

MonoDevelop 2.2.2

Mono 2.4.3.2

fsc: 2.0 build 1.9.9.9


Vasili



On 3/19/10, nikhil sarda <diff.operator at gmail.com> wrote:
> Hi,
> I would be really interested in collaborating with you on the F# addin.
> Could you pass on the code to me so I can take a look?
> Thanks a lot
> Nikhil Sarda
>


More information about the Monodevelop-list mailing list