Searched defs:subprocess (Results 1 - 2 of 2) sorted by relevance

/lxc/src/python-lxc/examples/
H A Dapi_test.py30 import subprocess namespace
56 dpkg = subprocess.Popen(['dpkg', '--print-architecture'],
57 stderr=devnull, stdout=subprocess.PIPE,
/lxc/src/python-lxc/lxc/
H A D__init__.py28 import subprocess namespace
173 if subprocess.call(['iw', 'phy', phy, 'set', 'netns',
181 return subprocess.call(['ip', 'link', 'set',
195 return subprocess.call(['ip', 'link', 'set',

Completed in 875 milliseconds