[
https://issues.apache.org/jira/browse/EXEC-107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17801218#comment-17801218
]
Gary D. Gregory commented on EXEC-107:
--------------------------------------
[~stefanreich]
Thank you for your report.
Feel free to provide a PR on GitHub ;) even after all these years...
> Start independent process
> -------------------------
>
> Key: EXEC-107
> URL: https://issues.apache.org/jira/browse/EXEC-107
> Project: Commons Exec
> Issue Type: New Feature
> Affects Versions: 1.3
> Reporter: Stefan Reich
> Priority: Major
>
> Hi,
> I would like to start an independent process (either another Java VM or
> something else) using Commons Exec.
> This means that the child process is not terminated when the invoking Java
> process ends.
> Currently Commons Exec does not support this.
> I do not need to handle output, it can just be sent to a file.
> Currently I invoke a script file containing "nohup ... > ... 2>&1 &" on
> Linux, and cmd.exe with a batch file on Windows. However, the latter method
> does not always seem to work.
> I would love Commons Exec to allow starting independent processes without any
> further effort on the caller's part.
> Many greetings,
> Stefan Reich / BotCompany.de
--
This message was sent by Atlassian Jira
(v8.20.10#820010)