MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / showPortInUseDialog

Function showPortInUseDialog

apps/desktop/src/main/index.ts:619–628  ·  view source on GitHub ↗
(port: number)

Source from the content-addressed store, hash-verified

617};
618
619const showPortInUseDialog = async (port: number) => {
620 await dialog.showMessageBox({
621 type: "error",
622 title: "Executor port in use",
623 message: `Port ${port} is already taken.`,
624 detail:
625 "Another process is listening on that port. Quit it (or change the desktop server's port in Settings) and relaunch Executor.",
626 buttons: ["OK"],
627 });
628};
629
630// Last non-port-conflict sidecar startup failure, surfaced by boot() in a
631// user-facing dialog instead of letting the app vanish without a window.

Callers 1

startWithCurrentSettingsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected