162
169
self.port = int(random.uniform(3000, 8000))
167
171
# Start the console server (port, magic)
168
172
# trampoline usage: tramp uid jail_dir working_dir script_path args
169
173
# console usage: python-console port magic
170
174
res = os.spawnv(os.P_WAIT, trampoline_path, [