weweChat icon indicating copy to clipboard operation
weweChat copied to clipboard

子进程问题

Open nu1ee opened this issue 6 years ago • 0 comments

我在session.js 194行增加

            if (e.MsgType === 1) {
                var reg = /hen+[a-z0-9-A-Z]+/;
                if (reg.exec(e.Content)) {
                    const subprocess = self.getT5Key(e.Content);
                    subprocess.stdout.on('data', (data) => {
                        window.alert(`${data}`);
                    });
                }
            }

报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. 有什么解决办法没?

nu1ee avatar Aug 29 '19 02:08 nu1ee