daemon: reverting adjustment for executing scripts for corehandler specific logic
This commit is contained in:
parent
9da64af79b
commit
5ff4447528
1 changed files with 2 additions and 0 deletions
|
@ -3,6 +3,7 @@ socket server request handlers leveraged by core servers.
|
|||
"""
|
||||
|
||||
import logging
|
||||
import shlex
|
||||
import shutil
|
||||
import socketserver
|
||||
import sys
|
||||
|
@ -937,6 +938,7 @@ class CoreHandler(socketserver.BaseRequestHandler):
|
|||
old_session_ids = set()
|
||||
if message.flags & MessageFlags.STRING.value:
|
||||
old_session_ids = set(self.coreemu.sessions.keys())
|
||||
sys.argv = shlex.split(execute_server)
|
||||
file_path = Path(sys.argv[0])
|
||||
if file_path.suffix == ".xml":
|
||||
session = self.coreemu.create_session()
|
||||
|
|
Loading…
Reference in a new issue