Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

子进程问题 #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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant