Github user MikeThomsen commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/2594#discussion_r187742376
  
    --- Diff: 
nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/ExecuteStreamCommand.java
 ---
    @@ -351,6 +350,16 @@ public void onTrigger(ProcessContext context, final 
ProcessSession session) thro
             builder.directory(dir);
             builder.redirectInput(Redirect.PIPE);
             builder.redirectOutput(Redirect.PIPE);
    +        final File errorOut;
    +        try {
    +            errorOut = File.createTempFile("out", null);
    +            errorOut.deleteOnExit();
    --- End diff --
    
    I would like to see this deleted after every iteration of the processor 
because it could a very long time brefore deleteOnExit gets executed.


---

Reply via email to