diff --git a/src/class/Util.ts b/src/class/Util.ts index d8cbebd..f40b212 100644 --- a/src/class/Util.ts +++ b/src/class/Util.ts @@ -46,6 +46,7 @@ export default class Util { cmd.stdout.off('data', writeFunction); cmd.stderr.off('data', writeFunction); cmd.off('error', writeFunction); + setTimeout(() => {}, 1000); if (code !== 0) rej(new Error(output)); res(output); });