[Mono-winforms-list] How To Check Mono is installed or Not

Petit Eric surfzoid at gmail.com
Wed Dec 8 13:31:13 EST 2010

Hum true "grep" wasn't the good word, i was mean, catch and parse the result
of the Process.start("mono");
You can use, for exemple, one of my code :
that yu will catch easly the consol output and then the result of the

2010/12/8 Paul F. Johnson <paul at all-the-johnsons.co.uk>

> Hi,
> > Grep the result of process.start(mono
> That assumes you have a .NET runtime installed and that grep is on the
> box in question.
> Big answer is there isn't an easy one as different operating systems
> install differently.
> If the user has Vista/Win7 installed, they'll definately have the .NET
> runtime environment installed, so process.start(...) is an option. If
> they're on a linux box, it depends if mono came in rpm/deb format or is
> self built. Something similar applies to a mac.
> ls /usr/bin | grep "mono"
> will work for Linux and mac...
> Fun...
> Paul
> --
> Vertraue mir, ich weiss, was ich mache...
> _______________________________________________
> Mono-winforms-list maillist  -  Mono-winforms-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-winforms-list


windows take you more($), Linux give you more!!
Political Power cannot be wisdom!

 Small Eric Quotations of the days:

 I have no special talents. I am only passionately curious
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20101208/15582655/attachment.html 

More information about the Mono-winforms-list mailing list