tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bradleymccrorey <>
Subject Re: Using eval vs. exec in shell scripts
Date Sun, 26 Jun 2011 15:59:38 GMT

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 the process.

Hm. Perhaps we're trying to achieve different things here. With the old
scripts, the behavior of the "run" switch was that the process would not
fork, and would remain in the foreground, and only have one process (the
java process). The new version seems to imitate this by leaving the running
java process in the foreground of the current shell. However, there are
still *2* processes: one for the, and one for java. This is a
fundamental change in the way the script behaves.

Does this clarify what I'm trying to achieve? Sorry if I'm being
thick-headed, and thanks very much for your consideration.
View this message in context:
Sent from the Tomcat - Dev mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message