From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 68723 invoked by alias); 5 Jan 2018 13:27:03 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 68285 invoked by uid 89); 5 Jan 2018 13:27:03 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=soderquist, Soderquist, cygwin64, H*RU:mout.gmx.net X-HELO: mout.gmx.net Received: from mout.gmx.net (HELO mout.gmx.net) (212.227.17.20) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 05 Jan 2018 13:27:01 +0000 Received: from [173.212.251.140] ([173.212.251.140]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LoVja-1f8Pfs2ib4-00gWkJ; Fri, 05 Jan 2018 14:26:58 +0100 Subject: Re: Explicit dash rebaseall instructions from a CMD.EXE shell requested To: cygwin@cygwin.com References: From: Herbert Stocker Message-ID: <8d160a4f-0fae-a1c8-e4e2-f9e3e7e5b1d0@gmx.de> Date: Fri, 05 Jan 2018 13:27:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-UI-Out-Filterresults: notjunk:1;V01:K0:6D4Kqyg0RRQ=:V7YWJOvFv+ge2Z5lJoVzmG 6zGTkVR2xvgm103eNuEfiEzr/7/xd9hYmzPkHg/g8JIMxJp70Cas6RRZ+5by7cswlOOseDTnC 2qfT6t7jLVJ64qRnmZ5H9sIJUSgnS4rsu6YbncxdPa/vux2R1GQWX8M0VVD5790T0/lF1Th1L uTaIA8K1yF/MTllgQWkdHjN3k866/jsMalsv2gO5FvD1m2QDrIpT3p2aJS0qT9VzUG9C1lnEh vbFECmaAdVFVh37E6+huM/OXETlVhdUgCNfoIK9L1dr4T7334G814xhvxYe4sPhzU1V76Vn42 HEMjl3lrcp+Nx1OeYgdswWdpcfKrvrZ7cURByKs4VP0Ar3ArvFbFZcR2TMgJFzPIfdM4wu1a+ P2Z7DsuubRz82zRyg7QHwK3dYp59CCJZU9yIj9IxI72OCqMepWuB1H2DG66dWwcGD+cHUonfV D0I3sE4HtDPelDu72sMhzz5lNg2Kec0+KIwCP9fZjBB59efE0adAtj93x84l0//gbuROhYxC+ ApwNkn/w4f0H2BDxFR1iwajaCUxbp9uKi9abFROiuB8SFm3q5Z1/Onb2um3gBGoSx+BszIhm0 CPhUh+D3EFXmB8XdIxAT21RqOExL4tQDX+Jm0E5TIpSUNDtF/G5QHJVuUAdlfv2wtgGox59Rt 7zL+zGT5LKNBMeI6F95IdBAmq3yhGSao7DUeqcG1RGkwpUTEn7PJItRkaOIxHf5sYFwntE1nt SYJ+h4hbDM/KdeFdDh7tDJmGmfk8A5j7UbYj4w4pKEuEZsSqiniS41ppwuoleHxlkt2vur1Bw Z3mfbXIrmtjYJm5Ojd6TlPZU2u9laqrj72ml7XSgBE1UJ0IlkA= X-IsSubscribed: yes X-SW-Source: 2018-01/txt/msg00033.txt.bz2 On 2018-01-04 19:21, Erik Soderquist wrote: > When I had to rebase, I had to track down and stop all cygwin services > as well. I went to Windows Task Manager, added the image path name > and sorted by it to find what all from cygwin was still running, and > shut them down. Maybe just for the record, the Windows command line tool tasklist.exe can list you all the Cygwin processes if you use the /m option. # tasklist.exe /m cygwin1.dll It sits in the System32 directory should you need an absolute path. You can also automate the kill-all-those-processes operation with this Batch code: # # cd C:\Cygwin64\Bin # # bash -c "/cygdrive/c/Windows/System32/taskkill -f $(/cygdrive/c/Windows/System32/tasklist.exe /m cygwin1.dll | /bin/tail -n +4 | while read a b c; do echo -en /pid $b ''; done)" # # ash.exe /bin/rebaseall -v # Please note that the part starting with bash and ends with done)" is a single line. If using it, check if the tail -n +4 works for your version of Windows. best regards, Herbert -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple