Run shell commands in GNU Screen using Golang.
$ go get -u github.com/RepSklvska/go-screen
package main
import "github.com/RepSklvska/go-screen"
func main() {
var (
command = []string{"emacs", "-nw"}
tty = "abc"
)
screen.Execute(tty, command...)
}
Then you can find the session with "screen -ls" command.