def kill_process(process):
    kill_command = shlex.split('sudo pkill -TERM -s %s' % (process.pid))

    try:
        status = subprocess.call(kill_command)
    except Exception:
        LOG.exception('Unable to pkill process.')

    return status
Return a Deferred that fires with a two-tuple of (x, y) indicating the cursor position.
dataset/ETHPy150Open StackStorm/st2/st2common/st2common/util/shell.py/kill_process--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/conch/insults/insults.py/ITerminalTransport.reportCursorPosition