public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* cygrunsrv --list output in braces
@ 2022-12-16 11:15 Andrey Repin
  2022-12-16 12:21 ` ASSI
  0 siblings, 1 reply; 3+ messages in thread
From: Andrey Repin @ 2022-12-16 11:15 UTC (permalink / raw)
  To: All

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: cygrunsrv --list output in braces
  2022-12-16 11:15 cygrunsrv --list output in braces Andrey Repin
@ 2022-12-16 12:21 ` ASSI
  2022-12-16 12:30   ` Andrey Repin
  0 siblings, 1 reply; 3+ messages in thread
From: ASSI @ 2022-12-16 12:21 UTC (permalink / raw)
  To: cygwin

Andrey Repin via Cygwin writes:
> The question is a proverbial one: Who's guilty and what to do?

You have more than one Cygwin installation (cygwin1.dll) and the path is
different in different environments.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Wavetables for the Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#BlofeldUserWavetables

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: cygrunsrv --list output in braces
  2022-12-16 12:21 ` ASSI
@ 2022-12-16 12:30   ` Andrey Repin
  0 siblings, 0 replies; 3+ messages in thread
From: Andrey Repin @ 2022-12-16 12:30 UTC (permalink / raw)
  To: ASSI, cygwin

Greetings, ASSI!

> Andrey Repin via Cygwin writes:
>> The question is a proverbial one: Who's guilty and what to do?

> You have more than one Cygwin installation (cygwin1.dll) and the path is
> different in different environments.

How should I know? Where it is documented?
(Also, it is the same path, more or less. At least install path is the same,
even though actual location is different.)


-- 
With best regards,
Andrey Repin
Friday, December 16, 2022 15:29:36

Sorry for my terrible english...


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-12-16 12:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-16 11:15 cygrunsrv --list output in braces Andrey Repin
2022-12-16 12:21 ` ASSI
2022-12-16 12:30   ` Andrey Repin

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