需要检查python的版本,以便在脚本中命中此命令。我试图将给定命令的输出存储在变量"x".So中,以便在进一步的脚本中使用这个x。但是,当我试图打印x时,它显示的是空值(没有值)。[bin]$x=`/path/thirdparty/python/2.7/bin/python2.7 -V`[bin]$echo x
请帮助我将命令
and stderr of a nginx process to a logfile because we want docker log collector to get them.
stdout_logfile,它们没有给我我需要的答案--即如何配置supervisord,使其不拦截进程stdout / stderr (或者捕获到日志文件,也可以转发到普通的stdout / stderr)。stdout_logfile=