PappyProxy/pappy-proxy/repeater.py
2015-11-17 19:27:41 -06:00

8 lines
307 B
Python

import comm
import subprocess
import os
def start_editor(reqid):
script_loc = os.path.join(os.path.dirname(__file__), "vim_repeater", "repeater.vim")
#print "RepeaterSetup %d %d"%(reqid, comm_port)
subprocess.call(["vim", "-S", script_loc, "-c", "RepeaterSetup %d %d"%(reqid, comm.comm_port)])