topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • December 17, 2018, 12:48 PM
  • Proudly celebrating 13 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Question for any Ruby coders out there.  (Read 133 times)

Stephen66515

  • Animated Giffer in Chief
  • Honorary Member
  • Joined in 2010
  • **
  • Posts: 3,492
    • View Profile
    • Donate to Member
Question for any Ruby coders out there.
« on: December 03, 2018, 03: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