Execute Command print vs return output

Hey just wanted to know what is the difference between return and print outputs when using external script in workflow. I executed python twitter.py {id} {username} . As a result when script ends it gives prints as outputs. Can I make it so it gives print and return when it is still working and not when it ends. Thanks!!

hello @emirrdvn

No, once you start the “Execute Command” Node it wil start to works and underlying program/script/command should exit in order the node to finish and grab the stdout. Can’t say for the n8n logs though.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.