Skip to content

[Feature] python task logs print delayed #1822

@gabry-lab

Description

@gabry-lab

Background

When we execute a python task ,it's logs print delayed
images

Suggestion

use “python -u ” to execute the python script, instead of "python"
or write the following code to the xxxx.command file
import os ;
os.environ['PYTHONUNBUFFERED'] = str(1)

Quote

https://blog.csdn.net/lmb1612977696/article/details/78648148
https://cloud.tencent.com/developer/article/1566956

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions