[Mono-osx] Process.Start causes SIGSEGV

Chu rscott at computerlabsolutions.com
Thu Sep 8 08:08:16 EDT 2011


Wow, that was a long time ago.... I don't remember exactly. :) I think it
was a memory leak though. When you redirect the output you have to close the
stream, then close & dispose of the process. I.e., taking the original
example:

               using (var ioreg = Process.Start(ioregInfo)) {
                   // ...
                   ioreg.StandardOutput.Close();
                   ioreg.Close();
                   ioreg.Dispose();
               }


On Wed, Sep 7, 2011 at 9:49 PM, Srini [via Mono] <
ml-node+3797812-625981313-96956 at n4.nabble.com> wrote:

> Even i am getting same error. Did you find any solution for this? If yes
> kindly share the solution
>
> -Srini
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://mono.1490590.n4.nabble.com/Process-Start-causes-SIGSEGV-tp3251954p3797812.html
>  To unsubscribe from Process.Start causes SIGSEGV, click here<http://mono.1490590.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3251954&code=cnNjb3R0QGNvbXB1dGVybGFic29sdXRpb25zLmNvbXwzMjUxOTU0fC0xNzU2MjQzMzg=>.
>
>


--
View this message in context: http://mono.1490590.n4.nabble.com/Process-Start-causes-SIGSEGV-tp3251954p3798609.html
Sent from the Mono - OSX mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20110908/f0c349a3/attachment.html 


More information about the Mono-osx mailing list