作为 Windows 服务器上的系统任务连接到控制台应用程序 运行

Connect to console app running as a system task on Windows server

我 运行 多个游戏服务器在一个 . Many of the game servers run as . I have created to run each on startup even if I'm not logged on. I would like to be able to attach to the consoles of those apps when logged on to the server, similar to what can be done in 上。也许我会以错误的方式解决这个问题。有没有办法将 运行ning 作为任务附加到控制台应用程序?有没有适合这种事情的软件工具?

更新: 一直在上下寻找解决方案,但还没有找到任何东西。决定写一篇 for console app that will redirect Stdin, Stdout and Stderr of a process to a Telnet connection. Will use to run the wrapper as a .

我制作了一个解决方案:https://github.com/ccourson/Banjo

Banjo 将启动指定的控制台应用程序并将其流路由到 telnet 连接和从 telnet 连接路由。

欢迎提出请求。