Spawn openerp using same python executable

Solves issues of spawning wrong version of python or popping out of virtualenv
This commit is contained in:
Sandy Carter 2014-06-13 14:13:11 -04:00
parent 9c5819a7ea
commit bebfd0dd4b

View File

@ -13,6 +13,7 @@ import signal
import simplejson
import subprocess
import time
import sys
import dateutil.parser
import requests
@ -528,6 +529,7 @@ class runbot_build(osv.osv):
# commandline
cmd = [
sys.executable,
server_path,
"--no-xmlrpcs",
"--xmlrpc-port=%d" % build.port,