@@ -82,12 +82,8 @@ def restart_unity_with_testability(*args):
82 return restart_unity(*args)
82 return restart_unity(*args)
85−def restart_unity_normally():
89def restart_unity(*args):
85def restart_unity(*args):
90− """Restarts (or starts) unity8 with the testability driver loaded.
86+ """Restarts (or starts) unity8 using the provided arguments.
92 Passes *args arguments to the launched process.
88 Passes *args arguments to the launched process.
@@ -111,7 +107,7 @@ def restart_unity(*args):
111 output = subprocess.check_output(
107 output = subprocess.check_output(
113 stderr=subprocess.STDOUT,
109 stderr=subprocess.STDOUT,
114− universal_newlines=False,
110+ universal_newlines=True,
116 logger.info(output)
112 logger.info(output)
117 pid = _get_unity_pid()
113 pid = _get_unity_pid()