action server starts subprocess with same executable as trat has

This commit is contained in:
iLLiCiTiT 2020-01-28 14:27:15 +01:00
parent 5d654e8de1
commit 2487a07e01

View file

@ -1,4 +1,5 @@
import os
import sys
import time
import socket
import threading
@ -52,7 +53,7 @@ class SocketThread(threading.Thread):
)
self.subproc = subprocess.Popen(
["python", self.filepath, "-port", str(self.port)],
[sys.executable, self.filepath, "-port", str(self.port)],
stdout=subprocess.PIPE
)