mesosphere/mesos-docker — pull request #19 by takedakn (2014-01-15 09:02:11+00:00)
Title: Replace check_output() by Popen() for better compatibility.

subprocess.check_output() was introduced in python 2.7.
In python 2.6 environment like RHEL/CentOS 6.x, execution of mesos-docker fails with this error:
```
AttributeError: 'module' object has no attribute 'check_output'
```
This patch replaces check_output() by Popen() for better compatibility.

Tested on CentOS 6.5 x86_64 / Python 2.6.6 / Docker 0.7.2 / Mesos 0.16.0-rc2 .