#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

#23 in #opening

39 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–12MB
~167K SLoC