mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 15:35:46 +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 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,
|
||||
|
Loading…
Reference in New Issue
Block a user