summaryrefslogtreecommitdiff
blob: 748f92877ba965c72997c63e5e2f1080444eff13 (plain)
1
2
3
4
5
6
7
8
9
10
11
import os, sys
from os.path import join as pjoin, basename, dirname
import subprocess as sp
import benchconfig as cfg
import benchpkgconfig as pc

def mkdir(dir):
    if not os.path.exists(dir):
        os.makedirs(dir)
        
run_cmd = lambda c : sp.Popen(c, stdout=sp.PIPE).communicate()[0]