Re: Using eval vs. exec in shell scripts

2011-06-26 Thread bradleymccrorey
Rainer Jung-3 wrote: > >> >> You can clearly see here that there are two processes: one for the shell >> script, and one for the actual java process. Is this not what I should be >> seeing? > > You should, bot only when using "run", which is precisely meant to not > decouple the console from t

Re: Using eval vs. exec in shell scripts

2011-06-26 Thread bradleymccrorey
Rainer Jung-3 wrote: > > > Did you follow the later messages in this discusison thread? > > I made an error in not including all quotes use din catalina.sh in my > simpl test script. So when using the correct scripts, the eval did *not* > leave a copy of the shel process hanging around. > I

Re: Using eval vs. exec in shell scripts

2011-06-25 Thread bradleymccrorey
I'll be watching this quite closely. We run thousands of TC6 instances onsite here, and are a daemontools shop. This change breaks daemontools, as the "svc" command will attempt to stop the tomcat service by sending a TERM to the catalina.sh process, which leaves the child java process still runni