[jira] [Updated] (EXEC-59) execute() does not return if executed process spawned other processes

2013-12-28 Thread Gary Gregory (JIRA)

 [ 
https://issues.apache.org/jira/browse/EXEC-59?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gary Gregory updated EXEC-59:
-

Fix Version/s: (was: 1.1.1)
   1.2

> execute() does not return if executed process spawned other processes
> -
>
> Key: EXEC-59
> URL: https://issues.apache.org/jira/browse/EXEC-59
> 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.2
>
> Attachments: spawner.sh
>
>
> 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 
> PumpStreamHandler.stop().



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (EXEC-59) execute() does not return if executed process spawned other processes

2011-06-20 Thread David Tombs (JIRA)

 [ 
https://issues.apache.org/jira/browse/EXEC-59?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Tombs updated EXEC-59:


Attachment: spawner.sh

Script to simulate a process that spawns a helper process. Run with 
DefaultExecutor.execute("./spawner.sh") to reproduce the issue. execute() will 
not return until the sleep command exits.

> execute() does not return if executed process spawned other processes
> -
>
> Key: EXEC-59
> URL: https://issues.apache.org/jira/browse/EXEC-59
> Project: Commons Exec
>  Issue Type: Bug
>Affects Versions: 1.1
> Environment: Linux x86_64
>Reporter: David Tombs
>Priority: Minor
> Attachments: spawner.sh
>
>
> 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 
> PumpStreamHandler.stop().

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira