geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kees van Veen <kees.vanv...@kewill.com>
Subject Re: deploy.sh stty echo
Date Mon, 15 Feb 2010 15:30:17 GMT
Hi Kevan,

The attached diff works for me, while still doing the 'stty echo' the 
exit status of the Java command is preserved, so my script calling 
deploy.sh would still fail when Java fails, but not when stty fails.

BTW why not do 'stty sane' (or both), as apparently exiting Java with an 
exception does not reset the terminal properly ?

Regards,
Kees


-------- Original Message --------
Subject: Re: deploy.sh stty echo
From: Kevan Miller <kevan.miller@gmail.com>
To: user@geronimo.apache.org
Date: Sat 13 Feb 2010 06:25:34 PM CET

> On Feb 4, 2010, at 4:18 AM, Kees van Veen wrote:
> 
>> Hi,
>>
>> I just switched to geronimo-tomcat6-javaee5-2.2, and deploying our application with
a script that calls $GERONIMO_HOME/bin/deploy.sh now fails (on Ubuntu 9.10) because the last
line in deploy.sh is 'stty echo' which causes the script to exit with a non-zero status (stty:
standard input: Invalid argument) when input/output is redirected. Removing that line solves
my problem.
>>
>> Anyone else experiencing that ?
> 
> No, but sounds like we've introduced a problem.
> 
> FYI, this change was added to address -- https://issues.apache.org/jira/browse/GERONIMO-4589
> 
> Perhaps you have a suggestion for a better ways of handling? Afraid my scripting-foo
is weak.
> 
> You should creat a Jira.
> 
> --kevan 


Mime
View raw message