commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nickolay Martinov (JIRA)" <j...@apache.org>
Subject [jira] Created: (EXEC-53) Allow control over asynchronous execution thread
Date Thu, 03 Feb 2011 10:32:29 GMT
Allow control over asynchronous execution thread
------------------------------------------------

                 Key: EXEC-53
                 URL: https://issues.apache.org/jira/browse/EXEC-53
             Project: Commons Exec
          Issue Type: Improvement
    Affects Versions: 1.1
            Reporter: Nickolay Martinov
         Attachments: commons-exec-daemon.patch

When process is started asynchronously using DefaultExecutor then thread is created that monitors
process. This thread is user thread and blocks java program from exiting. There is no way
to make this thread daemon. Allowing this to be a daemon thread one would be able to spawn
process without &, monitor this process for some time to be sure that it is alive and
then exit without calling System.exit() that isnt always possible/desirable.
Also it would be nice to be able to create thread with specific priority or thread group or
thread name or anything else.

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

        

Mime
View raw message