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 :
http://monoosc.svn.sourceforge.net/viewvc/monoosc/MonoOSC/MonoOSC/Class/UnixShell.cs?revision=352&content-type=text/plain
<http://monoosc.svn.sourceforge.net/viewvc/monoosc/MonoOSC/MonoOSC/Class/UnixShell.cs?revision=352&content-type=text/plain>with
that yu will catch easly the consol output and then the result of the
command2010/12/8 Paul F. Johnson <[email protected]> > 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... > > TTFN > > Paul > > -- > Vertraue mir, ich weiss, was ich mache... > > _______________________________________________ > Mono-winforms-list maillist - [email protected] > http://lists.ximian.com/mailman/listinfo/mono-winforms-list > -- Cordially. 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
_______________________________________________ Mono-winforms-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-winforms-list
