delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/12/16/06:21:03

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F135F383FD77
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1671189622;
bh=MkgFF2XzyHQwN0nKTKJtmiVX4qyMyMESFwv4uYgyy90=;
h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:Cc:From;
b=GcOWWpvqOY3l0Q5ah9JgjEJyo0ECWSVnmNFSIXjwiwrf1bFs/5kMYQD/OAkwtwucI
Rw0V3t6AAzEUKOPOGvw+QLZ6qB8i9EaSfyJ/r7oEZjs+Lc1wtDPqGOTMXl3F0h61Qg
f3XjaIYhkuXo71ZtMMXeabFemdAiOC75NTzlCrfo=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org AA8BA3830FEC
X-Yandex-Fwd: 1
Date: Fri, 16 Dec 2022 14:15:27 +0300
X-Mailer: The Bat! (v9.3.4) Professional
Message-ID: <1503426351.20221216141527@yandex.ru>
To: All <cygwin AT cygwin DOT com>
Subject: cygrunsrv --list output in braces
MIME-Version: 1.0
X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_THEBAT,
RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=no autolearn_force=no version=3.4.6
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.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
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: Andrey Repin via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Andrey Repin <anrdaemon AT yandex DOT ru>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

Greetings, All!

When I run cygrunsrv from dash/bash, the list is garbled with braces, while
when I run it from CMD prompt, the list is bare.
For me, this is a regression since before the script

sh -xc "for svc in $( cygrunsrv --list | grep -v cygserver ) cygserver; do net stop "^"$svc^""; done"

was running without an issue.

>> [C:\arc\cygwin\install]$ dash
>> $ cygrunsrv --list
>> (cron)
>> (cygserver)
>> $ exit
>>
>> [C:\arc\cygwin\install]$ bash
>> anrdaemon AT daemon2:cygwin:/mnt/c/arc/cygwin/install
>> # cygrunsrv --list
>> (cron)
>> (cygserver)
>> anrdaemon AT daemon2:cygwin:/mnt/c/arc/cygwin/install
>> # exit
>>
>> [C:\arc\cygwin\install]$ C:\Programs\Cygwin\bin\cygrunsrv --list
>> cron
>> cygserver

The question is a proverbial one: Who's guilty and what to do?


-- 
With best regards,
Andrey Repin
Friday, December 16, 2022 14:04:35

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

- Raw text -


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