mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 13:24:54 +01:00
user server is not laucnhed with stdout override to be able get output
This commit is contained in:
parent
8db7c19e74
commit
8f2f88aeae
1 changed files with 1 additions and 7 deletions
|
|
@ -53,8 +53,7 @@ class SocketThread(threading.Thread):
|
|||
)
|
||||
|
||||
self.subproc = subprocess.Popen(
|
||||
[sys.executable, self.filepath, "-port", str(self.port)],
|
||||
stdout=subprocess.PIPE
|
||||
[sys.executable, self.filepath, "-port", str(self.port)]
|
||||
)
|
||||
|
||||
# Listen for incoming connections
|
||||
|
|
@ -116,11 +115,6 @@ class SocketThread(threading.Thread):
|
|||
if self.subproc.poll() is None:
|
||||
self.subproc.terminate()
|
||||
|
||||
lines = self.subproc.stdout.readlines()
|
||||
if lines:
|
||||
print("*** Socked Thread stdout ***")
|
||||
for line in lines:
|
||||
os.write(1, line)
|
||||
self.finished = True
|
||||
|
||||
def get_data_from_con(self, connection):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue