PappyProxy/pappyproxy/repeater.py
Rob Glew f4bbd15c68 Release 0.0.2
Soooo much stuff. Features, bugfixes, all that.
2015-12-28 22:38:17 -06:00

9 lines
324 B
Python

import subprocess
import os
from pappyproxy import comm
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 %s %d"%(reqid, comm.comm_port)])