INNER CODE UNIT · Rust

Ok

mouseart2025/AI-Reader-V2 · frontend/src-tauri/src/lib.rs:117

          if let Ok(mut lines) = stderr_clone.lock() {
            lines.push(text);
            // Keep last 20 lines
            let len = lines.len();
            if len > 20 {
              lines.drain(..len - 20);
            }
          }
        }
        _ => {}
      }
    }
  });

  // Wait for PORT line asynchronously (up to 120s — PyInstaller cold start;
  // Windows is slower due to antivirus scanning during extraction)
  let reported_port = match tokio::time::timeout(
    std::time::Duration::from_secs(120),

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…