Error: Command failed: qshell get <bucket> "***********" --outfile="*************" --remove-temp-while-error=true
at checkExecSyncError (child_process.js:760:11)
at execSync (child_process.js:833:15)
at runCommand (/Volumes/code/sc-mce-pc-teacher/src/utils/NodeEnv.js:76:3)
at Object.<anonymous> (/Volumes/code/sc-mce-pc-teacher/.bin/notarize:37:1)
at Module._compile (internal/modules/cjs/loader.js:1072:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)
at Module.load (internal/modules/cjs/loader.js:937:32)
at Function.Module._load (internal/modules/cjs/loader.js:778:12)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)
at internal/main/run_main_module.js:17:47 {
status: 1,
signal: null,
output: [
null,
Buffer(8945) [Uint8Array] [
91, 73, 93, 32, 32, 68, 111, 119, 110, 108, 111, 97,
100, 32, 91, 104, 117, 111, 104, 117, 97, 58, 111, 110,
108, 105, 110, 101, 47, 115, 99, 45, 109, 99, 101, 45,
112, 99, 45, 116, 101, 97, 99, 104, 101, 114, 45, 115,
105, 103, 110, 101, 100, 45, 102, 111, 114, 116, 101, 115,
116, 47, 49, 57, 51, 48, 52, 55, 56, 47, 86, 105,
115, 112, 97, 114, 107, 32, 67, 108, 97, 115, 115, 114,
111, 111, 109, 45, 49, 46, 48, 46, 52, 46, 100, 109,
103, 93, 32, 61,
... 8845 more items
],
Buffer(0) [Uint8Array] []
],
pid: 75398,
stdout: Buffer(8945) [Uint8Array] [
91, 73, 93, 32, 32, 68, 111, 119, 110, 108, 111, 97,
100, 32, 91, 104, 117, 111, 104, 117, 97, 58, 111, 110,
108, 105, 110, 101, 47, 115, 99, 45, 109, 99, 101, 45,
112, 99, 45, 116, 101, 97, 99, 104, 101, 114, 45, 115,
105, 103, 110, 101, 100, 45, 102, 111, 114, 116, 101, 115,
116, 47, 49, 57, 51, 48, 52, 55, 56, 47, 86, 105,
115, 112, 97, 114, 107, 32, 67, 108, 97, 115, 115, 114,
111, 111, 109, 45, 49, 46, 48, 46, 52, 46, 100, 109,
103, 93, 32, 61,
... 8845 more items
],
stderr: Buffer(0) [Uint8Array] []
}
error Command failed with exit code 1.
问题描述
使用nodejs的 child_process.exec(Sync) 执行 qshell get [-o ]下载成功但会以非0退出
重现步骤
执行以上代码会出现如下错误
或者
执行以上代码会出现如下错误
期望结果?
实际结果?
错误日志/截图/配置参数
相关环境信息