mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
httpserver: launch webserver with the same python interpreter.
This commit is contained in:
parent
7d695fbed4
commit
24046a6168
1 changed files with 2 additions and 1 deletions
|
@ -21,6 +21,7 @@ import os
|
|||
import time
|
||||
import loggable
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
logcat = "httpserver"
|
||||
|
||||
|
@ -63,7 +64,7 @@ class HTTPServer(loggable.Loggable):
|
|||
print "Starting Server"
|
||||
try:
|
||||
self.debug("Lunching twistd server")
|
||||
cmd = "python %s %d" % (os.path.join(os.path.dirname(__file__),
|
||||
cmd = "%s %s %d" % (sys.executable, os.path.join(os.path.dirname(__file__),
|
||||
"RangeHTTPServer.py"),
|
||||
self.options.http_server_port)
|
||||
curdir = os.path.abspath(os.curdir)
|
||||
|
|
Loading…
Reference in a new issue