[ 
https://issues.apache.org/jira/browse/NIFI-14458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17943217#comment-17943217
 ] 

David Handermann commented on NIFI-14458:
-----------------------------------------

Thanks [~philci52], there was also a [similar 
question|https://lists.apache.org/thread/pynkfookqy75lhj86snkz17kds6g94h6] on 
the mailing list in February.

Sounds like going forward with implementing the {{run}} command in nifi.cmd 
will be helpful either way, thanks for looking into it!

> Cannot use nifi.cmd to start nifi process in the foreground
> -----------------------------------------------------------
>
>                 Key: NIFI-14458
>                 URL: https://issues.apache.org/jira/browse/NIFI-14458
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Core Framework
>    Affects Versions: 2.3.0
>         Environment: Windows 10, java 21
>            Reporter: Phil Dicke
>            Priority: Minor
>
> The current nifi.cmd script, cannot be used to start nifi in the foreground.  
> The script checks for the "start" command and launches the process in the 
> background.
> While this is convenient for using a typical shell user, it does not work for 
> integrating the Apache ProcRun ( 
> [https://commons.apache.org/proper/commons-daemon/procrun.html] ) and running 
> the application as a Windows Service using exe mode.
> Obviously, I can just copy and edit nifi.cmd to start the processes in the 
> foreground, but I would prefer a more elegant solution.
> I'm proposing that I add a new command "startfg" to the nifi.cmd that will 
> start the nifi process in the foreground.  I'd like to get some feedback 
> before I implement this.  Is there a better option?
> [~exceptionfactory] 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to