public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Bug Report
@ 2022-02-08 22:01 julie77793
  2022-02-08 22:22 ` [EXTERNAL] " Lavrentiev, Anton (NIH/NLM/NCBI) [C]
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: julie77793 @ 2022-02-08 22:01 UTC (permalink / raw)
  To: cygwin

Cygwin doesn't create an environment variable in bash to indicate that the
platform is Cygwin under Windows.

This causes compatibility problems when running various tools. Most of my
issues have been with Python tools running Windows Python.

I have been addressing this issue by grepping PATH for cygdrive which
doesn't seem like a very good approach.

Both msys2 and mingw solve this issue by setting the MSYSTEM environment
variable which lets tools check that OS=Windows_NT and MSYSTEM=MSYS

Please add some way of identifying that programs are running under Cygwin.





^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-02-09 16:25 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-08 22:01 Bug Report julie77793
2022-02-08 22:22 ` [EXTERNAL] " Lavrentiev, Anton (NIH/NLM/NCBI) [C]
2022-02-09  1:46 ` CygwinPaltform Identification Brian Inglis
2022-02-09  4:13   ` julie77793
2022-02-09  6:07     ` Allen Hewes
2022-02-09  8:10     ` Cygwin Platform Identification Brian Inglis
2022-02-09  9:12   ` CygwinPaltform Identification Henry S. Thompson
2022-02-09 10:01     ` Cygwin Platform Identification Brian Inglis
2022-02-09  6:29 ` Bug Report Ernie Rael
2022-02-09 16:24 ` Bill Stewart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).