其他ProcessProcess.waitForLineOutput版本:23.11.1本页内容Process.waitForLineOutput() 方法 签名 class Process { waitForLineOutput(regex: RegExp, timeout?: number): Promise<string>;} 参数 参数类型描述regexRegExptimeoutnumber(可选) 返回值 Promise<string>