How to use subprocess to print both in real-time and to log
Posted: 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
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