In an Azure git pipeline script (.yml), I can set up a Python task like this
- task: PythonScript@0
displayName: "Run scripts"
inputs:
scriptSource: 'filePath'
scriptPath: 'myscript.py'
arguments: '$a $b $c'
But it doesn't print output until the task is complete. Normally I would call python -u myscript.py
but there isn't an option to pass parameters to python itself; they can only be passed to the script. How can I set the input as unbuffered?