repl: Log Jupyter kernel process stderr and stdout (#15391)
Super simple piping of logs from the Jupyter kernels to the Zed logs. Release Notes: - Added logging of stderr from Jupyter kernels to the Zed logs
This commit is contained in:
parent
02c51c9b56
commit
8bb34fd93e
2 changed files with 32 additions and 3 deletions
|
@ -223,8 +223,8 @@ impl RunningKernel {
|
|||
|
||||
let process = cmd
|
||||
.current_dir(&working_directory)
|
||||
// .stdout(Stdio::null())
|
||||
// .stderr(Stdio::null())
|
||||
.stdout(std::process::Stdio::piped())
|
||||
.stderr(std::process::Stdio::piped())
|
||||
.kill_on_drop(true)
|
||||
.spawn()
|
||||
.context("failed to start the kernel process")?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue