Simple (?) Windows question

Rudi Schlatte rudi at constantly.at
Fri Mar 25 09:51:34 UTC 2016


Robert Goldman <rpgoldman at sift.net> writes:

> Is there some way that a CL implementation can know whether it is
> running under a Unix-alike like Cygwin or MinGW?

The OSTYPE environment variable maybe?

(in an msys shell):
$ echo $OSTYPE
msys


(in a cygwin shell):
$ echo $OSTYPE
cygwin

Rudi




More information about the asdf-devel mailing list