def run(line):
    """
    Run a shell line: run('ls /tmp') will execv('/usr/bin/ls', ['ls', '/tmp'])
    """
    arguments = shlex.split(line)
    path = lookup(arguments[0])  # Lookup the first arguments in PATH
    execute(path, arguments)
Run a shell line: run('ls /tmp') will execv('/usr/bin/ls', ['ls', '/tmp'])