Example #1
0
File: my.py Project: bbonf/dotchili
def fasd(query):
    p = subprocess.Popen(['fasd','-al',query], stdout=subprocess.PIPE)
    output = p.communicate()[0]
    chili.input(output)
Example #2
0
def fasd(query):
    p = subprocess.Popen(['fasd', '-al', query], stdout=subprocess.PIPE)
    output = p.communicate()[0]
    chili.input(output)
Example #3
0
File: my.py Project: bbonf/dotchili
def terminal(cmd):
    p = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE)
    output = p.communicate()[0]
    chili.input(output)
Example #4
0
def terminal(cmd):
    p = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE)
    output = p.communicate()[0]
    chili.input(output)