call_proc¶
- getmac.utils.call_proc(executable, args)[source]¶
Wrapper around
subprocess.check_output()with some logging and type conversion.The reason this and
getmac.utils.popen()are separate functions is to make it easier to mock for unit tests.
Wrapper around subprocess.check_output() with some
logging and type conversion.
The reason this and getmac.utils.popen() are separate
functions is to make it easier to mock for unit tests.