I am trying to run a backup script on my server. I want to follow the output from the command.
I have tried ChannelReceiveUntilMatchAsync and a task but the task always finishes a few seconds after it starts and that ends the backup script.
How can I execute the shell script and follow the output using?