Skip to content

Commit

Permalink
Restore print outputs in process (#357)
Browse files Browse the repository at this point in the history
Fixes #356
  • Loading branch information
blink1073 authored Dec 23, 2022
1 parent 9d11279 commit b8135b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jupyterlab_server/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ def __init__(self, cmd, startup_regex, logger=None, cwd=None, kill_event=None, e
line = self._stdout.readline().decode("utf-8")
if not line:
raise RuntimeError("Process ended improperly")
self.logger.info(line.rstrip())
print(line.rstrip()) # noqa
if re.match(startup_regex, line):
break

Expand Down Expand Up @@ -257,7 +257,7 @@ def _read_incoming(self):
if not buf:
return

self.logger.info(buf.decode("utf-8"), end="")
print(buf.decode("utf-8"), end="") # noqa

def _create_process(self, **kwargs):
"""Create the watcher helper process."""
Expand Down

0 comments on commit b8135b4

Please sign in to comment.