mirror of
https://github.com/imgurbot12/rmenu.git
synced 2025-01-27 05:18:33 +01:00
chore: revert experimental change
This commit is contained in:
parent
ecd051435d
commit
fcc64b6dd5
1 changed files with 1 additions and 4 deletions
|
@ -1,5 +1,4 @@
|
||||||
//! Execution Implementation for Entry Actions
|
//! Execution Implementation for Entry Actions
|
||||||
use std::io::{stdout, Write};
|
|
||||||
use std::process::Command;
|
use std::process::Command;
|
||||||
use std::{collections::HashMap, os::unix::process::CommandExt};
|
use std::{collections::HashMap, os::unix::process::CommandExt};
|
||||||
|
|
||||||
|
@ -53,9 +52,7 @@ pub fn execute(action: &Action, term: Option<String>) {
|
||||||
parse_args(&command)
|
parse_args(&command)
|
||||||
}
|
}
|
||||||
Method::Echo(echo) => {
|
Method::Echo(echo) => {
|
||||||
if let Err(err) = writeln!(stdout(), "{echo}") {
|
println!("{echo}");
|
||||||
log::error!("failed to write to stdout: {err:?}");
|
|
||||||
};
|
|
||||||
std::process::exit(0);
|
std::process::exit(0);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue