mirror of
https://github.com/mrfluffy-dev/kami.git
synced 2026-01-17 12:50:32 +00:00
refactor: restructure
This commit is contained in:
11
src/ln/open_text.rs
Normal file
11
src/ln/open_text.rs
Normal file
@@ -0,0 +1,11 @@
|
||||
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()
|
||||
}
|
||||
Reference in New Issue
Block a user