commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Siegfried Goeschl (Resolved) (JIRA)" <>
Subject [jira] [Resolved] (EXEC-59) execute() does not return if executed process spawned other processes
Date Mon, 10 Oct 2011 21:38:30 GMT


Siegfried Goeschl resolved EXEC-59.

       Resolution: Fixed
    Fix Version/s: 1.1.1

Applied the patch from Nickolay Martinov (EXEC-57) but the timeout disguises the fact that
the process might be still runnung - therefore added a sanity check in order to throw an exception
if the the timeout for join() was exceeded.
> execute() does not return if executed process spawned other processes
> ---------------------------------------------------------------------
>                 Key: EXEC-59
>                 URL:
>             Project: Commons Exec
>          Issue Type: Bug
>    Affects Versions: 1.1
>         Environment: Linux x86_64
>            Reporter: David Tombs
>            Assignee: Siegfried Goeschl
>            Priority: Minor
>             Fix For: 1.1.1
>         Attachments:
> When executing a process that spawns other processes, DefaultExecutor.execute() does
not return until these secondary processes die.
> This is a problem for me because I am executing a long-running service that uses long-running
helper processes. I want to know if the service process crashes (which leaves the helper processes
running), but I never get any notice because execute() does not return. It blocks while calling

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message