DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 53DDZZqa571135
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 53DDZZqa571135
Authentication-Results: delorie.com;
	dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=XIK0FpMG
X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A42E4385841C
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1744551333;
	bh=IJNNKlJhbwuGqMcT/WQ9t4qkOsQvp+bDYAj7/1rgMz0=;
	h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
	 From;
	b=XIK0FpMGt13RSGNg2wh7G//pYQBl5+zUKTAHUOdYZsvMD3KB0AT+iSzwmtLAojYSB
	 yTeKF3L4G5MRssuJZhw9vgZaiqe/Aj4KjnuKPV5HyOqPXxh78c6WeinTE0yODOiGue
	 x1NUOiJcX/2IAckhU0ncxdNEh/zhAUr/EOsl4IgI=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 029CA3858D29
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 029CA3858D29
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1744551306; cv=none;
 b=VXSwYtyQpHBDl3cImVz2FrYSXILGykpEpCBDTT2vTzkkeEdJXm2DtJDyJp4cU5n8KtS3kZNVKLcMSmp4qdBeZdPiXRCPH3wtfdjq5yQoB/Q2Qjycc+BMj++TawbTrEK+PsgpSIqjBiyJVJgvrFqLe5ZJHzlLV+GdA/P/bMuBDe4=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
 t=1744551306; c=relaxed/simple;
 bh=K6orQGmjK9RJ1GLmLF0KGtUkH9gn9RGkmzwYzKcoBGQ=;
 h=DKIM-Signature:Date:From:Message-ID:To:Subject:MIME-Version;
 b=mtrMXPm4gNLukUfKDsdnSDsWYIlTrfU26C12rcxlieKcxmpiVLz3eED4tqsXO0CTaSE3jraHQWoipnfdyEyLR1R9fn/wIggwcIMtMMoDkZjhgHkLoHyDzV4KkmQoVRTfrFfrA3D9zn0cNesY9bbGRdt2qPmmclLvyeFOooLL0y4=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 029CA3858D29
X-Yandex-Fwd: 1
Date: Sun, 13 Apr 2025 16:32:11 +0300
X-Mailer: The Bat! (v9.3.4) Professional
Message-ID: <16044533.20250413163211@yandex.ru>
To: Jeremy Drake <cygwin@jdrake.com>, cygwin@cygwin.com
Subject: Re: Modify bash shell script so it runs in elevated admin mode on Win
 explorer double click?
In-Reply-To: <ec837919-9a94-5eab-27d7-5c0b8353058e@jdrake.com>
References: <CAN0SSYxwQbUr4uG-iv0RgvSw9QK_OcHE7sZ4EJv-65ZonJ5qYw@mail.gmail.com> 
 <1783915490.20250411193725@yandex.ru>
 <ec837919-9a94-5eab-27d7-5c0b8353058e@jdrake.com>
MIME-Version: 1.0
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.30
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
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>
From: Andrey Repin via Cygwin <cygwin@cygwin.com>
Reply-To: cygwin@cygwin.com
Cc: Andrey Repin <anrdaemon@yandex.ru>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cygwin-bounces~archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie.com@cygwin.com>

Greetings, Jeremy Drake!

> On Fri, 11 Apr 2025, Andrey Repin via Cygwin wrote:

>> Though, I'm using takecommand's free runtime (TCC-RT), which has an explicit
>> START /ELEVATED command, and I'm using a wrapper for such tasks.

> cygutils'
> cygstart -a runas /bin/bash ... ?

runas is not necessarily run an elevated shell.


-- 
With best regards,
Andrey Repin
Sunday, April 13, 2025 16:31:56

Sorry for my terrible english...


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