diff options
author | zjp <jiping_zhou@foxmail.com> | 2023-05-13 15:51:39 +0800 |
---|---|---|
committer | zjp <jiping_zhou@foxmail.com> | 2023-05-13 15:51:39 +0800 |
commit | 25792db877637e2d01ade1785115e5ea7f6445ad (patch) | |
tree | cf79882b9f2f365682444d298f1cc416b1119439 /src | |
parent | eaadec172c30fa2819c20c0753b33dc91a81a617 (diff) |
config_file_example: shell command should be `cmd.exe` on Windows
and add shell command debug in logging
Diffstat (limited to 'src')
-rw-r--r-- | src/common/shell.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/shell.rs b/src/common/shell.rs index 331eb32..976128b 100644 --- a/src/common/shell.rs +++ b/src/common/shell.rs @@ -42,5 +42,6 @@ pub fn out() -> Command { cmd.args(words); let dash_c = if words_str.contains("cmd.exe") { "/c" } else { "-c" }; cmd.arg(dash_c); + debug!("shell cmd = `{cmd:#?}`"); cmd } |