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


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

Reply via email to