mirror of
https://github.com/mrfluffy-dev/kami.git
synced 2026-01-17 20:50:34 +00:00
12 lines
240 B
Rust
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()
|
|
}
|