Feat: add config print

This commit is contained in:
unitwk 2022-09-18 18:08:49 +08:00
parent 9f2303ce06
commit 756f182d9a

View File

@ -171,6 +171,7 @@ export default class PtyStartCommand extends InstanceCommand {
// create process adapter
const ptySubProcessCfg = await this.readPtySubProcessConfig(subProcess);
const processAdapter = new ProcessAdapter(subProcess, ptySubProcessCfg.pid);
logger.info(`PTY Process Config: ${JSON.stringify(ptySubProcessCfg)}`);
// After reading the configuration, Need to check the process status
// The "processAdapter.pid" here represents the child process created by the PTY process