David Karr <dkarr <at> real.com> writes: > > > > 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. > > > > I found that the key is whether the Java class reads from stdin or not. > > I just tried changing my script to instead just do a "read" with a prompt. > This does not kill the shell at the end of the script. When I do it in > Java, it kills the shell at the end of the script. Weird.
Hmm. JDK is a native windows app, not a cygwin app. So maybe the key here is not just reading stdin, but passing stdin to a non-cygwin app. -- Eric Blake -- 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