Catching a direct redirect to /dev/tty

后端 未结 4 2150
抹茶落季
抹茶落季 2021-01-05 23:29

I\'m working on an application controller for a program that is spitting text directly to /dev/tty.

This is a production application controller that must be able to

4条回答
  •  没有蜡笔的小新
    2021-01-05 23:45

     screen -D -m yourEvilProgram
    

    should work. Much time passed sinced I used it, but if you need to read some of its output it could even be possible that you could utilize some sockets to read it.

    [Added: two links, Rackaid and Pixelbeat, and the home page at GNU]

提交回复
热议问题