Results 1 to 2 of 2

Thread: Passing messages to GNU Screen

  1. #1
    Join Date
    Jul 2008
    Beans
    3

    Passing messages to GNU Screen

    Let's say I created an init script to create a screen session that runs a game server. That script also has the ability to kill the screen session based on the PID. Honestly I can't make heads or tails of screen's man page. How can I create another script that allows me to send a command (simply a short string with a return at the end) to the running process within that screen?

    (I want a file that lets me "./ban <username>" then passes "ban $1[ENTER]" to the running process)

  2. #2
    Join Date
    Jun 2005
    Location
    Toronto, Canada
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Passing messages to GNU Screen


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •