import subprocess
process = subprocess.Popen(["git", "show", "--oneline"], stdout=subprocess.PIPE)
data, _err = process.communicate()
import subprocess
process = subprocess.Popen(["git", "show", "--oneline"], stdout=subprocess.PIPE)
data, _err = process.communicate()