delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/04/11/20:40:14

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 53C0eEYR4049309
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 53C0eEYR4049309
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=SiQfuUj+
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6BA47385EC49
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1744418412;
bh=BuUhaqnKZsEDQLqUfteku7sUyXd1fN1mBNL8eg8ekng=;
h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=SiQfuUj+BGwMQJz0R8iIw5QKczKATY4Xmt5NwFj+sh5xh0VmDsCrf+N+VYdOS2Z0p
770vyJWoSeTAnbOT8YfGrYdtVvzsq62l6hqJYoGBra2S+VSN5zHLE8MfhEuAnuJf6H
dde6sOUgI8KavJ+Sw4ziGfml+uyExUdgsH8Fehqs=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org CC93F385ED4F
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org CC93F385ED4F
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1744418365; cv=none;
b=kTJaowbPpK5KernDTrqF49+OPH6el+HlOlhMub5mXw2wYpiuDNvAR7C3Tb+h34zgFoIufkV85jO8ELwXQIZP9rfDwqm7zH6fVykAEYRi5aQLGiP0ZLb7iTTuRv8ZvBZfW7EDd5RwpFiiotK0el3rFZQDFthEdvRLhgDpJkPoSlY=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1744418365; c=relaxed/simple;
bh=iztf8cTz8xcJBZiWJuR1LirKCr5pDI7T783AIBDCIzw=;
h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version;
b=H+rrj41rkoeIX0FPakkneN5TTncalHY/yolvY1gBJVHXdH72I/blEAbEX11QvpV62zOMINmfDBEwiccmU6nZUp+MUP/pmYzRFqVO3JpIZfjebqszZXQnQ5/WSbMsWTYQ8RVg0ZQ8ZqeLTBETXXYoFKDtc+N3rYkPB5vD17oYeXI=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CC93F385ED4F
Date: Fri, 11 Apr 2025 17:39:25 -0700 (PDT)
X-X-Sender: jeremyd AT resin DOT csoft DOT net
To: Andrey Repin via Cygwin <cygwin AT cygwin DOT com>
Subject: Re: Modify bash shell script so it runs in elevated admin mode on
Win explorer double click?
In-Reply-To: <1783915490.20250411193725@yandex.ru>
Message-ID: <ec837919-9a94-5eab-27d7-5c0b8353058e@jdrake.com>
References: <CAN0SSYxwQbUr4uG-iv0RgvSw9QK_OcHE7sZ4EJv-65ZonJ5qYw AT mail DOT gmail DOT com>
<1783915490 DOT 20250411193725 AT yandex DOT ru>
MIME-Version: 1.0
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: Jeremy Drake via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Jeremy Drake <cygwin AT jdrake DOT com>
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>

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

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