【发布时间】:2018-04-27 17:32:29
【问题描述】:
目前,我的 TFS 中有如下内容:
- TFS 作业调用 powershell script1
- powershell script1 调用powershell script2(有模块)
- Powershell 模块使用 Start 进程调用 python 脚本,该进程通过
-RedirectStandardOutput返回标准输出。捕获/返回 TFS 也是如此。
但问题是 python 脚本的所有输出都一次性返回,并且无法立即将逐行日志获取到 TFS。
谁能建议是否有办法将 python 脚本的输出立即逐行日志返回到 TFS?
【问题讨论】:
标签: python powershell tfs