How to use subprocess to print both in real-time and to log

General discussion for off-topic subjects.
Shanmugam
Junior Member
Posts: 2
Joined: Wed Oct 12, 2022 8:03 pm

How to use subprocess to print both in real-time and to log

Postby Shanmugam » Wed Oct 12, 2022 8:10 pm

Hi support,
Need your help.
I am trying to call a Powershell script from python, what subprocess i need to use to get it printed both in real-time and log files.
If anyone have a sample file it would help.


Thanks
Shanmugam
PatrickD
Junior Member
Posts: 1
Joined: Mon Oct 24, 2022 8:16 pm

Re: How to use subprocess to print both in real-time and to log

Postby PatrickD » Tue Oct 25, 2022 8:41 am

Hello,

I'm making a small update to this post because the subject interests me too. If anyone has any suggestions, I'd love to hear them.

Thank you in advance for your help,
My website here : Hentai Chan xxx

Return to “Whatever”

Who is online

Users browsing this forum: No registered users and 17 guests