mirror of
https://github.com/hykilpikonna/hyfetch.git
synced 2026-03-31 06:04:40 -05:00
fix: run neowofetch directly on unix
The script should contain a shebang, so no need to spawn a subshell for it
This commit is contained in:
parent
b5b49ecbc0
commit
4ea0a4a9dc
|
|
@ -506,8 +506,7 @@ where
|
|||
|
||||
#[cfg(not(windows))]
|
||||
{
|
||||
let mut command = Command::new("bash");
|
||||
command.arg(neofetch_path);
|
||||
let mut command = Command::new(neofetch_path);
|
||||
command.args(args);
|
||||
Ok(command)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user