提交 e164e194 编写于 作者: wafwerar's avatar wafwerar

fix(os): case run remote taosd

上级 06f72448
......@@ -333,8 +333,11 @@ class TDDnode:
i += 1
if i > 50:
break
tailCmdStr = 'tail -f '
if platform.system().lower() == 'windows':
tailCmdStr = 'tail -n +0 -f '
popen = subprocess.Popen(
'tail -n +0 -f ' + logFile,
tailCmdStr + logFile,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
shell=True)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册