DMK
DMK

Reputation: 1

Capturing the output from python script which called through powershell

Currently i have the stuff in place in my TFS like below :

But the thing is all the output from python script is returning in one go and not able to get the line by line logs to TFS instantly.

Can anyone suggest if there is way to return the output from python script to TFS instantly line by line logs?

Upvotes: 0

Views: 219

Answers (1)

Rain
Rain

Reputation: 153

You'd have to make the Start-Process call asynchronously either using Jobs or Runspaces, and then constantly monitor the job/runspace child session for output to display.

Upvotes: 1

Related Questions