DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Question for any Ruby coders out there.  (Read 3,091 times)

KynloStephen66515

  • Animated Giffer in Chief
  • Honorary Member
  • Joined in 2010
  • **
  • Posts: 3,772
    • Participated in NANY Challenge Three Times
    • Cody Award
    • Coding Snacks
    • Official Forum Clown
    • Volunteers/Staff
    • Writer
    • Hardware Hacker
    • DJ Badge - DJ
    • Linux User
Question for any Ruby coders out there.
« on: December 03, 2018, 09:02 AM »
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

Original address: https://www.donationcoder.com/forum/index.php?topic=46769.0