ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

Main Area and Open Discussion > Living Room

Question for any Ruby coders out there.

(1/1)

KynloStephen66515:
Quick (and hopefully basic) question:

I'm trying to find a method, that when I run an `exit` command, I can also exec l.sh in that terminal (basically, these are 2 discord bots, one using discordrb and one using discordjs.)

I need it to do the following (the discordjs can already launch the ruby one)

When discordrb bot is shutdown, it will exec `l.sh` - this launches the discordjs bot


Any help would be hugely appreciated <3

~Stephen

Navigation

[0] Message Index

Go to full version