阅读背景:

无法向Ruby中的PTY.spawn()创建的进程发送信号

来源:互联网 

I'm running ruby in an Alpine docker container (it's a sidekiq worker, if that matters). At a certain point, my application receives instructions to shell out to a subcommand. I need to be able to stream STDOUT rather than have it buffer. This is why I'm using PTY instead of system() or another similar answer. I'm executing the following line of code:I'm running ruby in an Alpine docker container




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: