mirror of
https://github.com/certd/certd.git
synced 2026-04-23 19:57:27 +08:00
perf: 优化证书申请成功率
This commit is contained in:
@@ -72,7 +72,7 @@ async function spawn(opts: SpawnOption): Promise<string> {
|
||||
let stderr = "";
|
||||
return safePromise((resolve, reject) => {
|
||||
const ls = childProcess.spawn(cmd, {
|
||||
shell: process.platform == "win32",
|
||||
shell: true,
|
||||
env: {
|
||||
...process.env,
|
||||
...opts.env,
|
||||
|
||||
Reference in New Issue
Block a user