On Sun, Mar 30, 2008 at 8:05 AM, Petit Eric <[EMAIL PROTECTED]> wrote:
> Damed, mono list email is never in first position here is my reponse
> where only JP Trosclaire had :
> "
> In the "bigest lines"
> System.threading.thread.process.start("lshw>~/tmp/info.txt") or
> "lshw",">~/tmp/info.txt" ;
> String AllInfo = System.IO.ReadAllText("lshw>~/tmp/info.txt")
> "
You'd be better served creating a Process object and opening its
standard output and reading directly from that. No temporary files,
more efficient, etc.
--
Chris Howie
http://www.chrishowie.com
http://en.wikipedia.org/wiki/User:Crazycomputers
_______________________________________________
Mono-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list