usecrate::interceptors::send_to_host;usecrate::protocol::GuestMessage;/// Parse xdg-open argv and send an open request to the host.
pubfnrun(args:&[String]){if args.len()<2{eprintln!("xdg-open: missing URI argument");std::process::exit(1);}let uri = args[1].clone();let msg =GuestMessage::XdgOpen { uri };ifletErr(e)=send_to_host(&msg){eprintln!("xdg-open interceptor: failed to send: {e}");}}