Expand description
Subprocess boundary for the platform’s default “open this path” program.
app decides what to open; this module knows how, as one table arm per
operating system.
The opener is spawned detached from ite’s standard streams: some handlers return at once and others linger for the lifetime of the application they launch, and neither should write over the TUI or hold up the event loop.
Structs§
- Opener
- The program that hands a path to a platform’s default handler, plus the fixed arguments that precede the path.
Functions§
- open
- Hand
pathto the platform’s default handler. The error is a message fit for the user, not a cause to stop exploring. - opener
- The opener for the platform this binary runs on.
- opener_
for - The opener for an
std::env::consts::OSvalue;Nonewhere ite does not know of one. Supporting another platform is one more arm.