OtherProcessProcess.waitForLineOutputVersion: NextOn this pageProcess.waitForLineOutput() methodSignature:class Process { waitForLineOutput(regex: RegExp, timeout?: number): Promise<string>;}ParametersParameterTypeDescriptionregexRegExptimeoutnumber(Optional)Returns:Promise<string>