mirror of
https://github.com/retspen/webvirtcloud
synced 2025-01-13 00:45:17 +00:00
Fix calling write() from int instead of os
This commit is contained in:
parent
cea2309c64
commit
3ef0fe19f8
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ def connect(sid, environ):
|
||||||
if child_pid:
|
if child_pid:
|
||||||
# already started child process, don't start another
|
# already started child process, don't start another
|
||||||
# write a new line so that when a client refresh the shell prompt is printed
|
# write a new line so that when a client refresh the shell prompt is printed
|
||||||
fd.write("\n")
|
os.write(fd, str.encode("\n"))
|
||||||
return
|
return
|
||||||
|
|
||||||
# create child process attached to a pty we can read from and write to
|
# create child process attached to a pty we can read from and write to
|
||||||
|
|
Loading…
Reference in a new issue