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

Pierre Villard commented on NIFI-4568:
--------------------------------------

Hi [~jugi],

Good catch, it seems we just need to add:

{noformat}
properties.add(WORKING_DIR);
{noformat}

Do you want to submit a PR for that?

> Working Dir Property not shown nor mentioned in ExecuteProcess Processor
> ------------------------------------------------------------------------
>
>                 Key: NIFI-4568
>                 URL: https://issues.apache.org/jira/browse/NIFI-4568
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Configuration, Configuration Management
>    Affects Versions: 1.3.0, 1.4.0
>            Reporter: Julian Gimbel
>              Labels: executeProcess, processor, properties
>
> When executing a process with the executeProcess Operator the default working 
> directory is the home directory of the user that started Nifi. In the code 
> there is a Working directory Property that seems to work if one adds it. The 
> documentation does not mention that it reads that argument and it is not 
> shown in the Properties of the Operator.
> It should either be added in the documentation of the operator or directly in 
> the Properties with home directory as the default value.
> See Line 100 to 110 in 
> [https://github.com/apache/nifi/blob/6279fd41844205a14cf1f2fb225ead8881b197eb/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/ExecuteProcess.java]



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to