help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to avoid having shell scripts which fail from killing Emacs shel


From: Peter Dyballa
Subject: Re: How to avoid having shell scripts which fail from killing Emacs shell?
Date: Tue, 23 Jun 2009 17:56:48 +0200


Am 23.06.2009 um 15:15 schrieb David M. Karr:

I tried creating a dummy test class that doesn't read from stdin, even when I force it to throw an exception, and that doesn't kill the shell. However, when I then change the class to read a line from stdin, whether it throws an exception or not, the shell dies after the script completes.

Can it be that you just use the wrong Java routine to read input?

I imagine I could simplify this test case by just doing the readline from the script, instead of the class.


Is the mix of shell and Java code necessary to set CLASSPATH or is its purpose wider? In the latter case, have you thought of making the Java code external and compiling it and then using that Java executable file in your script?

--
Greetings

  Pete

Who the fsck is "General Failure," and why is he reading my disk?







reply via email to

[Prev in Thread] Current Thread [Next in Thread]