X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; q=dns; s=default; b=gujzFXFrlrjmZg+9SZUeKFsPuBTXlzhN0AsUlL5prb9 K8YCi+pIEiXluiXT3/N+9o3l/S37Gg6xp3vhrjI9qfNqjADjB4WXZ015uYXgHqBO q9JAVjwHtrSkqbGa7/XOByDFhm185iOId+BShOFUWQzm4fIwShElUZLCnpNMsnqI = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; s=default; bh=dOe8RKLtUCTZA8lgEVN5oBsqZ7w=; b=MGnWK5dYYq3J6gYLa fB3VR9AnwpZye/Ba1NrlcSwyCO7tqt5jI/afoN52LKAfUAK1OATJ0gyjPnFz6Nh4 DgY0h2qIlXoGbNtUhpNADgODBCPJ4z7JohAY5Ej1KoOdj1Sh1Fe2l+aWC5jygIGW i9ugiL6ZgnznEUZHf+ZCSN/XrM= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.0 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wg0-f43.google.com X-Received: by 10.180.77.74 with SMTP id q10mr1668607wiw.39.1390907739204; Tue, 28 Jan 2014 03:15:39 -0800 (PST) Message-ID: <52E79153.9050200@gmail.com> Date: Tue, 28 Jan 2014 12:15:31 +0100 From: Marco Atzeri User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Windows 7 64 Bit flashes DOSBox visible on Desktop when using run-1.3.0 or run2-0.4.2 to start Cygwin commands References: <77c04eb4a36928d74897e7618b8528a4 AT localhost> In-Reply-To: <77c04eb4a36928d74897e7618b8528a4@localhost> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes On 28/01/2014 10:37, dyle wrote: > Hi *, > > [this is my 2nd email ... got myself some mailing-list registration > problems as well ... sorry for the noise] > > I try to start cygwin commands without a DOS-Box as suggested by run and > run2. To no avail. I see the CMD-Window (DOS-Box) flashing up (and down > again). I tried cygwin and cygwin64 on a Windows 7 64Bit machine. > > The command does complete successful (e.g. just a "#!/bin/sh ls -1 | > wc -l > count_file.txt") but I cannot help perceiving the opening and > immediate closing of the DOSBox window. Running a series of such commands > in a loop would render my Windows desktop into a stroboscope. if you need to run a series of command, why don't you use the mintty terminal ? I do not understand what are you trying to achieve with run, it seems the wrong tool for your example. If you want to put a stop just before closing the scripts, just add a read "#!/bin/sh ls -1 | > wc -l > count_file.txt read" and it will wait a "Return" before completing the script and closing the window. > Also I looked up the cygwin (and winsup) sources but was not lucky to find > any code or run or run2. And there's no reference whatsoever in > /usr/share/doc/run and /usr/share/doc/run2 on where to *obtain* the sources > for these packages. They do not seem to be included in the regular cygwin > CVS. use setup do download the source package. All sources are available on "Select Packages" window, forth column is called "Scr ?" Check the box, it will be deployed in "/usr/src" > > I do not know what I'm doing wrong, since Google tells me it should work > without popping up a DOS-Box window. > > Could anyone please post me some advice (or tell me where to obtain the > sources)? > > > Thx, > Oliver > -- 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