cygrunsrv --list output in braces
Andrey Repin
anrdaemon@yandex.ru
Fri Dec 16 11:15:27 GMT 2022
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...
More information about the Cygwin
mailing list