animesh verma created NIFI-6471:
-----------------------------------

             Summary: ExecuteStreamCommand on using python script forwarding 
print statements in the Output stream instead of stdout
                 Key: NIFI-6471
                 URL: https://issues.apache.org/jira/browse/NIFI-6471
             Project: Apache NiFi
          Issue Type: Bug
          Components: Examples
    Affects Versions: 1.9.2
         Environment: centos
            Reporter: animesh verma
             Fix For: 1.9.2


{code:java}
flowFile = sys.stdin.read()
print("Next Process")
sys.stdout.write(str(flowFile))
{code}
A simple program as above in ExecuteStreamCommand processor working on python 
gives output in outputStream as

 
 * Next Process
 * Contents of flowFile whatever they may be

 



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to