X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 48D323858020
Authentication-Results: sourceware.org;
 dmarc=pass (p=none dis=none) header.from=gmail.com
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=from:to:subject:date:message-id:mime-version
 :content-transfer-encoding:thread-index:content-language;
 bh=xaHs8bW/p71AfEyGY0jrKC6hsCOJ03T56SMgohj0JEY=;
 b=JYPiua0cFw76Nv3AYKh4LVKIKpqSE4k7LikOmnwYifRwH8WLkBacrNhBG2zO//SG2Y
 p0iM70M2cyTADA/zdDQEYbsNYlFdw2YwAPkeJPkGEWwY/UF58GQBrJLxbqIbc9ausWV2
 6e//Tcf8pBQIYH4UUOCMfMQN30qIx9sbH9njU3l8cJPe9PyxoyZ2Ua5lgcdlnOa4qgrQ
 WzMHt1w/vo8yssMLCaKD1/lkXfKOcCjorCcDyT4S33qC3+nyvOtlBEe+uhlYmugD+KI/
 OKX6KwBQxlVd0/WCOc/4fZXhb6sWqUrGtSWmGItqJh8gcUUExU/dJ6kw+6eOfunlXoIG
 fDVw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:from:to:subject:date:message-id:mime-version
 :content-transfer-encoding:thread-index:content-language;
 bh=xaHs8bW/p71AfEyGY0jrKC6hsCOJ03T56SMgohj0JEY=;
 b=wHi27pZF2viIAP7VTMxlJwzPjW/RKwEmzkQsXxx3vEvUZTeG0AvWTwqkkCrEx5THW9
 7LqONoxTvg+oriobHrEkYrbeyPThO/695FeyAimDSmDNPQZmqxR8Jsy4doM20uX9vcrf
 c/p0zXMIpsLo/790ihOGCF1SWOmhkcVHUvrlYZb0We3HbtxBfigkQ+h2QzhYESI3x4XI
 SO/f65PCwgwCnJpIYOXzMBL7oYLG0x+y9lrT+jwKieuzIMrAPBg/UGF4VEdD/UXgVnmb
 FIf+KWsB3LzEVV/9ELxFBuf3Wh2698RzKuuODbQcShG6KtXscwqo9pceNc1hFPXAyW0L
 Kd0g==
X-Gm-Message-State: AOAM5322Kor/5D+yKL0Rcvyz6H2kr3mpFkySfXQ/LUChUdUYekcayPgV
 S0/+/6qD9aFCzvc0i11GaEgsM3Uu830=
X-Google-Smtp-Source: ABdhPJxpkewPxsaHnA/bdghGJEhQqKvJ1Ysb4u+SFKK64sE2h1VKjToD4Dwg1gSky+T/KLh4nishCQ==
X-Received: by 2002:a17:902:9f8f:: with SMTP id
 g15mr6148638plq.97.1644357714915; 
 Tue, 08 Feb 2022 14:01:54 -0800 (PST)
From: julie77793@gmail.com
X-Google-Original-From: <julie7779311@gmail.com>
To: <cygwin@cygwin.com>
Subject: Bug Report
Date: Tue, 8 Feb 2022 15:01:51 -0700
Message-ID: <337301d81d37$7afda680$70f8f380$@gmail.com>
MIME-Version: 1.0
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AdgdNpSv4P2QtJdARRmyoXqYN34vHQ==
Content-Language: en-us
X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT,
 FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP,
 T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>

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.





-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple
