其他ProcessProcess.waitForLineOutput版本:23.11.1本頁內容Process.waitForLineOutput() 方法 簽名 class Process { waitForLineOutput(regex: RegExp, timeout?: number): Promise<string>;} 參數 參數類型描述regexRegExptimeoutnumber(選填) 返回 Promise<string>