delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/02/12/01:09:06

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 36FA43858401
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1707718144;
bh=oCkQAF4A+IR4DdDqvLi1er/VynZydPuQX8ujK7UFQ94=;
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=X/M4iiW/VMpmvTx/9MjML6nUnObxjnx69SUd32KOtE6h3xiFVKxaMygnX4avmsvE3
Y1VJIvlyPbH5/617sfjkm9lKayX6ignceFEdBlfyn6OXGk8qstkZlBNPiTwHYhRa30
E78Xk5oCH4JffFvuVrmqpDcDqwwvrD4zEeOMe/3U=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 68D0F3858D20
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 68D0F3858D20
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1707718093; cv=none;
b=PUgHSeELHveP9dc4VsIRRrNngc3odvsSASPpU86Vu7iAAUfoA2SuI/+aClXsbZ9HsHLqQUZUkg16J/VkOPcYgnIf+WLSXhqJI3o64jSH2XUQdAsBZczzuQE4uR3KdQe75HoeG6iK13LSpvLr3d4IdkaJQWbpo8KZnQc6ksISqGc=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1707718093; c=relaxed/simple;
bh=pwnxq5kQmiPzaLOWVaKKpJoN0EGZxGZGD5a+jMFTo5s=;
h=Message-ID:Date:MIME-Version:Subject:To:From;
b=vNxX7zThpA3zqP5NpAW9IJjZYaUbn7V0iJwqiJdBrbrT3XVoG+GCt+ZAEEqcomrpc+Qqs7mSf/X8KZCbFjg94uqsekOYKmpwul1QNkq5yJP0KVxDEeiBFiQ0l46XwzBUcuVNjNeYvEUbR62ix5HS2c04eUzSfEbKNU3u8GOpOMw=
ARC-Authentication-Results: i=1; server2.sourceware.org
Message-ID: <933b4ea1-9783-4ab8-92a2-91ca67a33039@SystematicSW.ab.ca>
Date: Sun, 11 Feb 2024 23:08:05 -0700
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: Running setup-x86_64.exe from cmd does nothing but works from
cygwin itself
To: cygwin AT cygwin DOT com
References: <6075b5bacd6adcdcaa71b9f50991ee15 AT wsnyder DOT org>
Organization: Systematic Software
In-Reply-To: <6075b5bacd6adcdcaa71b9f50991ee15@wsnyder.org>
X-Stat-Signature: 9fhwanz846aogj5wui55t95ej9gno14d
X-Rspamd-Server: rspamout03
X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,
SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE,
UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.6
X-Rspamd-Queue-Id: 4167320023
X-Session-Marker: 427269616E2E496E676C69734053797374656D6174696353572E61622E6361
X-Session-ID: U2FsdGVkX191nt6VrljWuCZqF1ZHhzQlgVpN852BLbc=
X-HE-Tag: 1707718086-13199
X-HE-Meta: U2FsdGVkX1/8g/hH3JINoJd2/yzXU5w707Q9ExpmTH0do+W1F5S8eLTWzAfTIvfMeCSMOOJO+BYMi8vE6FR3dwtNkWjIPUOBSHS5hDtKpgHTjaEAJVTsc4K9zbCd2AzC/hr96UUhi46Tuc61cB0q3dK3OzB2bbDQzPnmJfK51QBcQ7VDdnMKUx3jIFuPOptPB+qTWydw41CAU9ktr/xauSU26EcsMXhAFzHQwiOPa/Dbzku9jUEhQ2zOqZaDlasBdDlTvyhzTS2aezzoVgnvVD/pmxEHowq+GzhfeKDcbG/pAzu7En5g7h1QxdxAqZnVGt/Hobi0otzPF37Uc9nkYWklcBlw1+Gh
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Brian Inglis via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Brian Inglis <Brian DOT Inglis AT SystematicSW DOT ab DOT ca>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 41C6957U021345

On 2024-02-11 18:05, wsnyder--- via Cygwin wrote:
> I have a Windows Version 10.0.19044 Build 19044 system with Cygwin installed a while ago.
> Opening the cygwin terminal (which works fine), I see it is running:
> CYGWIN_NT-10.0-19044 version 3.3.6-341.x86_64 (corinna AT calimero) (gcc version 11.2.0 20210728 (Fedora Cygwin 11.2.0-2) (GCC) ) 2022-09-05 11:15 UTC
> I needed to install some packages so downloaded setup-x86_64.exe onto my desktop.

How did you download Cygwin Setup: browser download from Cygwin home page, wget 
of link, or curl from link?

What are the permissions, size, path, and name of the downloaded file?
Try running `chmod -c a+rx .../setup-x86_64` to force executable permissions.

> When I run it from the desktop I get the "busy" cursor for a fraction of a second and nothing happens.
> When I open the native Windows cmd prompt as administrator, and run "setup-x86_64.exe" or "setup-x86_64.exe -v" or "setup-x86_64.exe --asdjasdjaskdhj", I just get the prompt back.
> If, however I startup the cygwin terminal (vs cmd window) and run setup-x86_64.exe, it starts correctly.

How are you running the program: using the full Windows or Cygwin path?
Try running `which setup-x86_64` to see which if any file is executed.

> However I'm afraid to run it this way as if it crashes I'll presumably never be able to run setup again.

Why would you think that?
Programs that don't run either continue not to, or run when conditions are changed.

> This is a work machine so while I have admin, it's completely possible they've added some broken virus checker rule that is now preventing it from running.
> But, I get no alert, which I normally would doing something unusual, and that it works under cygwin itself seems odd.

Cygwin enables permissions allowing execution under Cygwin and ignores settings 
which may prevent execution under Windows.
-- 
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer     but when there is no more to cut
                                 -- Antoine de Saint-Exupéry


-- 
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019