public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Andrey Repin <anrdaemon@yandex.ru>
To: All <cygwin@cygwin.com>
Subject: cygrunsrv --list output in braces
Date: Fri, 16 Dec 2022 14:15:27 +0300	[thread overview]
Message-ID: <1503426351.20221216141527@yandex.ru> (raw)

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@daemon2:cygwin:/mnt/c/arc/cygwin/install
>> # cygrunsrv --list
>> (cron)
>> (cygserver)
>> anrdaemon@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...


             reply	other threads:[~2022-12-16 11:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-16 11:15 Andrey Repin [this message]
2022-12-16 12:21 ` ASSI
2022-12-16 12:30   ` Andrey Repin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1503426351.20221216141527@yandex.ru \
    --to=anrdaemon@yandex.ru \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).