python subprocess.run with path and args code example
Example: pass variable in subprocess run python
#ran in python 3.8.x
cmd = "ls"
cmd_args = "-l"
subprocess.run([cmd, cmd_args])
#ran in python 3.8.x
cmd = "ls"
cmd_args = "-l"
subprocess.run([cmd, cmd_args])