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

子进程问题 #240

@nu1ee

Description

@nu1ee

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions