mirror of
https://github.com/imgurbot12/rmenu.git
synced 2025-01-26 12:58:08 +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
|
||||
use std::io::{stdout, Write};
|
||||
use std::process::Command;
|
||||
use std::{collections::HashMap, os::unix::process::CommandExt};
|
||||
|
||||
|
@ -53,9 +52,7 @@ pub fn execute(action: &Action, term: Option<String>) {
|
|||
parse_args(&command)
|
||||
}
|
||||
Method::Echo(echo) => {
|
||||
if let Err(err) = writeln!(stdout(), "{echo}") {
|
||||
log::error!("failed to write to stdout: {err:?}");
|
||||
};
|
||||
println!("{echo}");
|
||||
std::process::exit(0);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue