On Tue, 2010-01-26 at 08:25 -0600, lsmod wrote: > O.K. Most of the interesting things should be found in the /proc. > But sometimes it is easier to use a program like sensors for > collecting and formatting the informations. > For the shell you mean this wiki: http://wiki.winehq.org/Shell32 ? > No, I meant the top item on this page: http://wiki.winehq.org/FAQ#head-68d921c50355f280a905e3574b7dda58d76ff51f If your C compiler's library supports popen() and it will allow Linux programs to be run this way you should be able to read their output from the popen pipe but you'll most likely get Linux newlines, not DOS CRLF line terminators. I have no idea whether popen() is part of the standard library for Windows compilers, though djgpp (a port of the GNU compiler for DOS) does, so at a guess mingw would too. Martin