其他ProcessProcess.waitForLineOutputVersion: 23.10.1On this pageProcess.waitForLineOutput() 方法 ¥Process.waitForLineOutput() method 签名 ¥Signature class Process { waitForLineOutput(regex: RegExp, timeout?: number): Promise<string>;} 参数 ¥Parameters 范围类型描述regexRegExptimeout数字(可选的) Returns: Promise<string>