How to avoid having shell scripts which fail from killing Emacs shell?
David Karr
dkarr@real.com
Mon Jun 22 20:07:00 GMT 2009
> -----Original Message-----
> From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] On Behalf
> Of Ken Brown
> Sent: Monday, June 22, 2009 12:26 PM
> To: cygwin@cygwin.com
> Subject: Re: How to avoid having shell scripts which fail from killing
> Emacs shell?
>
> On 6/22/2009 10:53 AM, David Karr wrote:
> > I've often been annoyed by shell scripts which fail for particular
> > reasons, at which point it causes my Emacs shell buffer to get killed,
> > with "Process shell<2> finished".
>
> I don't recall ever seeing this happen, but maybe I just don't remember.
> Can you give me a simple test case?
I'm not sure how complicated it needs to be. My test case gathers a couple
of parameters and then calls a Java (JDK 1.6.0_14) class. The class throws
an exception (file not found) in my test case (because I'm deliberately
giving it parameters that will cause that). If I give it parameters that
will avoid the exception, then it doesn't kill the shell.
Is that enough information to build a test case with?
--
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
More information about the Cygwin
mailing list