Skip to content
This repository has been archived by the owner on Jun 26, 2024. It is now read-only.

子进程问题 #240

Open
nu1ee opened this issue Aug 29, 2019 · 0 comments
Open

子进程问题 #240

nu1ee opened this issue Aug 29, 2019 · 0 comments

Comments

@nu1ee
Copy link

nu1ee commented Aug 29, 2019

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant