Nov-26-2019, 04:40 AM
How to use subprocess send commands to windows shell
See : https://www.pythonforbeginners.com/os/su...nistrators
Run the command described by "args".
We can run the command line with the arguments passed as a list of strings
(example 1) or by setting the shell argument to a True value (example 2)
Note, the default value of the shell argument is False.
Let's look at two examples where we show the summary of disk usage using
subprocess.call()
See : https://www.pythonforbeginners.com/os/su...nistrators
Run the command described by "args".
We can run the command line with the arguments passed as a list of strings
(example 1) or by setting the shell argument to a True value (example 2)
Note, the default value of the shell argument is False.
Let's look at two examples where we show the summary of disk usage using
subprocess.call()