head.daveops.net

Snippets for yer computer needs

Python - subprocess

Python - subprocess

@Python

Popen

pipe = subprocess.Popen(args_list, shell=True, stdout=subprocess.PIPE)
output - pipe.communicate()[0]