mirror of
https://github.com/odoo/runbot.git
synced 2025-03-27 13:25:47 +07:00
Spawn openerp using same python executable
Solves issues of spawning wrong version of python or popping out of virtualenv
This commit is contained in:
parent
9c5819a7ea
commit
bebfd0dd4b
@ -13,6 +13,7 @@ import signal
|
|||||||
import simplejson
|
import simplejson
|
||||||
import subprocess
|
import subprocess
|
||||||
import time
|
import time
|
||||||
|
import sys
|
||||||
|
|
||||||
import dateutil.parser
|
import dateutil.parser
|
||||||
import requests
|
import requests
|
||||||
@ -528,6 +529,7 @@ class runbot_build(osv.osv):
|
|||||||
|
|
||||||
# commandline
|
# commandline
|
||||||
cmd = [
|
cmd = [
|
||||||
|
sys.executable,
|
||||||
server_path,
|
server_path,
|
||||||
"--no-xmlrpcs",
|
"--no-xmlrpcs",
|
||||||
"--xmlrpc-port=%d" % build.port,
|
"--xmlrpc-port=%d" % build.port,
|
||||||
|
Loading…
Reference in New Issue
Block a user