#open #cmd #uri #error

open_cmd

Generate commands for opening paths and URIs with the system handler

1 unstable release

0.1.0 Dec 30, 2021
Download history 23/week @ 2023-10-23 20/week @ 2023-10-30 35/week @ 2023-11-06 8/week @ 2023-11-13 30/week @ 2023-11-20 15/week @ 2023-11-27 24/week @ 2023-12-04 16/week @ 2023-12-11 20/week @ 2023-12-18 29/week @ 2023-12-25 26/week @ 2024-01-01 11/week @ 2024-01-08 20/week @ 2024-01-15 18/week @ 2024-01-22 16/week @ 2024-01-29 37/week @ 2024-02-05

93 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–15MB
~199K SLoC