openwith

command
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 6, 2026 License: BSD-3-Clause Imports: 10 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command openwith is the live-verify probe for the desktop "open with" events (#510 Phase 1: bellui.OpenHandlerApp — SetOnFileOpened / SetOnURLOpened).

go run ./hack/openwith /tmp/hello.txt     # launch payload -> OnFileOpened
go run ./hack/openwith 'myapp://deep/link' # launch payload -> OnURLOpened

While a primary is running, a second launch forwards its file/URL argument to it via single-instance mode and the primary's OnFileOpened/OnURLOpened fires — this is the already-running "open with" path on Windows/Linux. The primary appends every event to its window and to $TMPDIR/bellui-openwith-probe.log. Set BELLUI_OW_PROBE_QUIT=1 to make the primary quit after the first event.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL