We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bd0f682 + b95599f commit 61826e6Copy full SHA for 61826e6
scripts/boot
@@ -1,4 +1,4 @@
1
-#!/usr/bin/env python
+#!/usr/bin/env python3
2
from __future__ import print_function
3
4
import os
vmrunner/vmrunner.py
@@ -639,7 +639,7 @@ def read_until_EOT(self):
639
chars = ""
640
641
while (not self._proc.poll()):
642
- char = self._proc.stdout.read(1)
+ char = self._proc.stdout.read(1).decode("utf-8")
643
if char == chr(4):
644
return chars
645
chars += char
@@ -799,7 +799,7 @@ def on_exit(self, callback):
799
800
# Read a line from the VM's standard out
801
def readline(self):
802
- return self._hyper.readline().decode("utf-8")
+ return self._hyper.readline()
803
804
# Write a line to VM stdout
805
def writeline(self, line):
0 commit comments