fix(os): case run remote taosd
This commit is contained in:
parent
06f72448aa
commit
e164e194b1
|
@ -333,8 +333,11 @@ class TDDnode:
|
||||||
i += 1
|
i += 1
|
||||||
if i > 50:
|
if i > 50:
|
||||||
break
|
break
|
||||||
|
tailCmdStr = 'tail -f '
|
||||||
|
if platform.system().lower() == 'windows':
|
||||||
|
tailCmdStr = 'tail -n +0 -f '
|
||||||
popen = subprocess.Popen(
|
popen = subprocess.Popen(
|
||||||
'tail -n +0 -f ' + logFile,
|
tailCmdStr + logFile,
|
||||||
stdout=subprocess.PIPE,
|
stdout=subprocess.PIPE,
|
||||||
stderr=subprocess.PIPE,
|
stderr=subprocess.PIPE,
|
||||||
shell=True)
|
shell=True)
|
||||||
|
|
Loading…
Reference in New Issue