#path #command #uri #system #handler #opening #generate

open_cmd

Generate commands for opening paths and URIs with the system handler

1 unstable release

0.1.0 Dec 30, 2021

#25 in #opening

Download history 2/week @ 2023-12-25 1/week @ 2024-01-01 10/week @ 2024-02-05 10/week @ 2024-02-19 19/week @ 2024-02-26 11/week @ 2024-03-04 21/week @ 2024-03-11 5/week @ 2024-03-18 15/week @ 2024-03-25 33/week @ 2024-04-01

76 downloads per month
Used in hoard

MIT license

13KB
264 lines

Generate commands for opening paths and URIs in the default system handler.

These methods return std::process::Command instances that can immediately be run to open the given target, or modified to provide different stdin/stdout/stderr streams.

This crate used https://dwheeler.com/essays/open-files-urls.html as a reference.

Dependencies

~3–14MB
~195K SLoC