delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/04/02/23:27:47

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,SPF_HELO_PASS,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Message-ID: <28124894.post@talk.nabble.com>
Date: Fri, 2 Apr 2010 21:27:26 -0700 (PDT)
From: JPMcGrath <JPMcGrath AT JPMcGrath DOT net>
To: cygwin AT cygwin DOT com
Subject: RE: Show window for BASH script run with /bin/run
In-Reply-To: <0105D5C1E0353146B1B222348B0411A208DEF244D1@NIHMLBX02.nih.gov>
MIME-Version: 1.0
References: <28121386 DOT post AT talk DOT nabble DOT com> <e8r7hop3dv0 DOT fsf AT FLM000025LVE9F DOT catmktg DOT com> <0105D5C1E0353146B1B222348B0411A208DEF244D1 AT NIHMLBX02 DOT nih DOT gov>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com


Buchbinder, Barry (NIH/NIAID) [E] writes:

> You might also look at the options available with cygstart.  Please note
> that I've never had to do this, so I may be misunderstanding the man
> page.

Thanks for that tip, but unfortunately, I cannot get cygstart to do the job. 
When I launch the script with cygstart --hide, it does run the window
hidden, but there does not seem to be any way to show the window again.  If
I run cygstart --show afterwards, it just launches another instance.

I am currently redirecting the output to a file, then launching notepad on
the file if there is an error, which works reasonably well.  But if I could
show the window, I could do that after a set amount of time, which would
deal with the script hanging as well.  That's not too likely, so I will live
with this for now.

Thanks for your help.


-- 
View this message in context: http://old.nabble.com/Show-window-for-BASH-script-run-with--bin-run-tp28121386p28124894.html
Sent from the Cygwin list mailing list archive at Nabble.com.


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019