From 5ee7ede0bb8564d92be7407ab5e0facaa8f2b4d2 Mon Sep 17 00:00:00 2001 From: Dongdong Zhou Date: Sun, 12 Feb 2023 19:26:27 +0000 Subject: [PATCH] return stdout stderr --- lapce-proxy/src/plugin/psp.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lapce-proxy/src/plugin/psp.rs b/lapce-proxy/src/plugin/psp.rs index cc5d63f6..ae9f5c16 100644 --- a/lapce-proxy/src/plugin/psp.rs +++ b/lapce-proxy/src/plugin/psp.rs @@ -832,6 +832,8 @@ pub fn process_request( .output()?; Ok(serde_json::to_value(ExecuteProcessResult { success: output.status.success(), + stdout: Some(output.stdout), + stderr: Some(output.stderr), })?) } _ => Err(anyhow!("request not supported")),