Python/Shell

From Fundamental Ramen
Jump to navigation Jump to search
TODO Code
Just run
subprocess.run(['dpkg', '-x', deb_path, ex_path])
Run with shell
(Necessary on Windows)
args = 'wmic product get name,version'.split(' ')
subprocess.run(args, shell=True)
Get stdout