Files
kami/src/ln/open_text.rs
justchokingaround e99dc19ea3 refactor: restructure
2022-07-10 19:00:23 +02:00

12 lines
240 B
Rust

use std::io::Result;
use std::process::{Command, ExitStatus};
pub fn open_bat() -> Result<ExitStatus> {
Command::new("bat")
.arg("--paging")
.arg("always")
.arg("/tmp/log_e")
.spawn()?
.wait()
}