Re: [Mingw-users] How can I tell whether my prog is running on cmd.exe or bash?
- Date: Wed, 06 Feb 2008 13:26:29 +0000
- From: Paul Leder <sa212+mingw@xxxxxxxxxxx>
- Subject: Re: [Mingw-users] How can I tell whether my prog is running on cmd.exe or bash?
Tuomo Latto wrote:
> Anyway, $OSTYPE might be a good choice.
Thanks, but cmd.exe (on W2K, anyway) doesn't seem to have an OSTYPE.
Haven't tried XP or Vista yet. Both Cygwin and cmd.exe return Windows_NT
for OS.
-Paul
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users