mirror of
https://github.com/retspen/webvirtcloud
synced 2024-12-24 15:15:22 +00:00
Fix process call for consolecallback
This commit is contained in:
parent
65dce10ce1
commit
9bf3b7e88f
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ def connect(sid, environ):
|
|||
(instance, conn) = get_connection_infos(token)
|
||||
uuid = conn.get_uuid()
|
||||
uri = conn.wvm.getURI()
|
||||
subprocess.run(["consolecallback", uri, uuid])
|
||||
subprocess.run(["/srv/webvirtcloud/venv/bin/python3", "/srv/webvirtcloud/venv/bin/consolecallback", uri, uuid])
|
||||
else:
|
||||
# this is the parent process fork.
|
||||
sio.start_background_task(target=read_and_forward_pty_output)
|
||||
|
|
Loading…
Reference in a new issue