I'm trying to merge two files(.pdf format) and combine it to one file using execute streamcommand using jar file. at java side the merge is working using the same jar. but nifi side the command is not working , instead of merging files it pushing both individual files to outputstream and throwing the below error at execute streamcommand processor.
"Failed to write flow file to stdin due to broken pipe:java.io.IOException:Broken pipe"
Below is flow which i'm using
and the command Arguements which i'm using is
and here is my configuration of executeStreamCommand:
Could you please help me on this?