hi everyone, I have external executable that needs...
# ask-community
t
hi everyone, I have external executable that needs to be scheduled to run by Prefect. What is the best way to go about this? so far I've used python subprocess.Popen to call it, but I have to manually stream the stdout for logging, that's very clunky. I saw
prefect-shell
and the
shell operation block
, are they better suited for calling external applications?
b
prefect-shell
is probably the best way to go if you're looking to get the
stdout
channel streamed to Prefect for logging purposes. There's some examples on the SDK page that would help you get started: https://docs.prefect.io/integrations/prefect-shell
1
t
thank you Brendan