How to have a pipe for a bot to receive information?

I have a discord bot in python, but I want to run a subprocess in the background and then notify the bot when it finishes.

I assume I'd need some kind of multithreading? I expect this process to take upwards of 30 minutes so I don't want it to freeze the bot.

Posted Oct 3, 2020, 2:11 AM UTC

10

No comments yet

Nobody commented on this post, or the comments weren't captured.