Thanks for the reply!!

Here’s my situation:
I’m using the Apache Commons Exec version 1.3 code to call a bash script (which 
in turn calls one or more bash scripts).  In most cases, everything works and 
the calling Java code gets a response.  However, on some occasions, the call to 
DefaultExecutor’s execute method never returns (I’m calling one of the 
synchronous execute methods) …

I have tracing in the bash scripts which indicate that they have finished.  
Also, I am using the ExecuteWatchdog class, but it doesn’t recognize the fact 
that my timeout has been exceeded.

So, I’m looking for the following :
 - Some help (tips/tricks/what to look for/at) with how to debug my problem.
 - A good clear example of how to use the Apache Commons Exec for
    - a synchronous call to a bash script
    - an asynchronous call to a bash script   

Thanks in advance for any help!!

> On Jun 1, 2017, at 11:26 AM, Amey Jadiye <[email protected]> wrote:
> 
> Hi Dan,
> 
> You can post the question directly on mailing list. With questions you can
> give some references like Github gist or link to github commits url.
> 
> Regards,
> Amey
> 
> On Thu, Jun 1, 2017 at 8:33 PM, Dan C <[email protected]> wrote:
> 
>> Now that I think I’m a registered user, is the the proper way to submit a
>> question on the Apache Commons Exec code??
> 
> 
> 
> 
> -- 
> 
> ---------------------------------------------------------------------
> 
> To unsubscribe, e-mail: [email protected]
> 
> For additional commands, e-mail: [email protected]

Reply via email to