delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/04/02/12:50:56

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: <28121386.post@talk.nabble.com>
Date: Fri, 2 Apr 2010 10:50:36 -0700 (PDT)
From: JPMcGrath <JPMcGrath AT JPMcGrath DOT net>
To: cygwin AT cygwin DOT com
Subject: Show window for BASH script run with /bin/run
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

I am running a bash script under cygwin from within another (non-cygwin)
program.  The script normally does not interact with the user, so I use
/usr/bin/run when running the script to avoid having a bash window
constantly popping up and going away.  However, if the script encounters an
error, I need to show the user what went wrong.  What I am looking for is a
way for the script to show the hidden window if it encounters an error. 
Does anyone know how to do this?

Thanks in advance.
-- 
View this message in context: http://old.nabble.com/Show-window-for-BASH-script-run-with--bin-run-tp28121386p28121386.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