From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10080 invoked by alias); 17 Oct 2014 03:39:48 -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 10022 invoked by uid 89); 17 Oct 2014 03:39:47 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,FREEMAIL_REPLYTO_END_DIGIT,RCVD_IN_DNSWL_NONE,SPF_PASS,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: nm25-vm1.bullet.mail.bf1.yahoo.com Received: from nm25-vm1.bullet.mail.bf1.yahoo.com (HELO nm25-vm1.bullet.mail.bf1.yahoo.com) (98.139.212.155) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Fri, 17 Oct 2014 03:39:45 +0000 Received: from [98.139.215.140] by nm25.bullet.mail.bf1.yahoo.com with NNFMP; 17 Oct 2014 03:39:43 -0000 Received: from [98.139.212.250] by tm11.bullet.mail.bf1.yahoo.com with NNFMP; 17 Oct 2014 03:39:43 -0000 Received: from [127.0.0.1] by omp1059.mail.bf1.yahoo.com with NNFMP; 17 Oct 2014 03:39:43 -0000 Received: (qmail 14563 invoked by uid 60001); 17 Oct 2014 03:39:43 -0000 Received: from [24.23.70.124] by web162801.mail.bf1.yahoo.com via HTTP; Thu, 16 Oct 2014 20:39:43 PDT References: <1413488630.82429.YahooMailNeo@web162806.mail.bf1.yahoo.com> <544055FF.2030604@cs.umass.edu> Message-ID: <1413517183.86611.YahooMailNeo@web162801.mail.bf1.yahoo.com> Date: Fri, 17 Oct 2014 03:39:00 -0000 From: John Wiersba Reply-To: John Wiersba Subject: Re: Starting mintty via run.exe To: "moss@cs.umass.edu" , "cygwin@cygwin.com" In-Reply-To: <544055FF.2030604@cs.umass.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes X-SW-Source: 2014-10/txt/msg00209.txt.bz2 Eliot, I'm sorry for double posting. I subscribed this morning, sent back the confirmation email, posted my question and...didn't hear anything. I never got my original question from the list nor your reply. Not in my inbox nor in my spam folder. I figured that my question must have somehow been discarded because I wasn't registered on the list yet. After an hour or two, I tried resubscribing to the list (I was already subscribed) and then reposted my question. I did later see an announcement from Corinna, a post from Ken Brown about emacs and ispell, an announcement from Jon Turney, a post from Christian Franke about exec and PATH, and finally another emacs post from Ken Brown. I will check the list archives for your reply, since I still don't know what it is. Thanks in advance for your reply. -- John ----- Original Message ----- > From: Eliot Moss > To: cygwin@cygwin.com > Cc: jrw32982@yahoo.com > Sent: Thursday, October 16, 2014 7:34 PM > Subject: Re: Starting mintty via run.exe > > On 10/16/2014 3:43 PM, John Wiersba wrote: > >> I'm trying to create a Windows shortcut which will start mintty > indirectly by running a (perl) script which will exec mintty. I know I can > start mintty.exe directly via the shortcut, but the purpose of my script is to > wrap the invocation in the proper environment and arguments. >> >> I'm encountering two problems using run.exe: >> >> 1) run.exe doesn't seem to be able to run a hashbang script. My script > starts with #!/usr/bin/perl and runs just fine from a cygwin bash command line, > starting a new mintty terminal as expected. But calling it from run.exe fails. > Clicking on the shortcut flashes some kind of terminal window on the screen, > which appears to have no content (but it is hard to tell, since it flashes so > quickly) and then the terminal window immediately closes. In this case, my > shortcut target is: d:\cygwin\bin\run.exe /path/to/hashbang/script. >> >> 2) When I change my shortcut target to: d:\cygwin\run.exe perl > /path/to/hashbang/script, then it runs the script and starts a mintty terminal > session, but I still get the flashing terminal window before the eventual mintty > starts, which I don't want. I thought the purpose of run.exe was to hide > such a terminal window? There must be something I'm not understanding about > how run.exe works or its purpose. >> >> >> Finally, is there any way I can debug what's going on without > rebuilding run.exe? For example, can I prevent the flashing window from > flashing so quickly (in case there's a message displayed there). > > You posted this same question this morning ... > > And I answered it about 20 minutes later. > > Why are you posting again? You risk annoying the > list subscribers ... > > Regards -- Eliot Moss > > -- > 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 > -- 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