Commit 347dddf3 authored by Paolo Tosco's avatar Paolo Tosco
Browse files

- set CRESSET_NO_LOGFILE=1 before starting external processes

parent 97eb00cb
......@@ -157,6 +157,7 @@ class JupyterNotebookLauncher(object):
CRESSET_FLARE_PROCESS_PID = "CRESSET_FLARE_PROCESS_PID"
JUPYTER_RUNTIME_DIR = "JUPYTER_RUNTIME_DIR"
PYTHONPATH = "PYTHONPATH"
CRESSET_NO_LOGFILE = "CRESSET_NO_LOGFILE"
env = os.environ.copy()
pythonpath = env.get(PYTHONPATH, "")
import_dir = self.module_dir
......@@ -190,6 +191,7 @@ class JupyterNotebookLauncher(object):
PYTHONPATH: import_dir,
CRESSET_FLARE_PROCESS_PID: str(self.flare_pid),
JUPYTER_RUNTIME_DIR: self.runtime_dir,
CRESSET_NO_LOGFILE: "1"
}
)
return env
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment