Hacker News new | ask | show | jobs
by icebraining 5302 days ago

    run = lambda cmd: subprocess.check_output(cmd, shell=True)

    data = run("ps -e")
1 comments

I do something which looks largely the same, except I call it backtick