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 /Volumes/code/sc-mce-pc-teacher/src/utils/NodeEnv.js:77:5
at new Promise (<anonymous>)
at runCommand (/Volumes/code/sc-mce-pc-teacher/src/utils/NodeEnv.js:76:10)
at fun (/Volumes/code/sc-mce-pc-teacher/.bin/notarize:37:9)
at Object.<anonymous> (/Volumes/code/sc-mce-pc-teacher/.bin/notarize:39: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)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:75710) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
(node:75710) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
问题描述
使用nodejs的 child_process.exec(Sync) 执行 qshell get [-o ]下载成功但会以非0退出
重现步骤
执行以上代码会出现如下错误
或者
执行以上代码会出现如下错误
期望结果?
实际结果?
错误日志/截图/配置参数
相关环境信息