X-Recipient: archive-cygwin@delorie.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@JPMcGrath.net>
To: cygwin@cygwin.com
Subject: RE: Show window for BASH script run with /bin/run
In-Reply-To: <0105D5C1E0353146B1B222348B0411A208DEF244D1@NIHMLBX02.nih.gov>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
References: <28121386.post@talk.nabble.com> <e8r7hop3dv0.fsf@FLM000025LVE9F.catmktg.com> <0105D5C1E0353146B1B222348B0411A208DEF244D1@NIHMLBX02.nih.gov>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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

