diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-11-29 21:24:11 +0100 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-11-29 21:24:11 +0100 |
| commit | 815d9d8bf57fa491fe062c7c839c60cdef5dffaf (patch) | |
| tree | cd3fbd45c23141d425a0ea610073af136f95d6f5 /pkgs/by-name/no/notify-run/src/main.rs | |
| parent | pkgs/notify-run: Init (diff) | |
| download | nixos-config-815d9d8bf57fa491fe062c7c839c60cdef5dffaf.zip | |
modules/river/keymap: Send a notification, when spawning a command fails
Diffstat (limited to 'pkgs/by-name/no/notify-run/src/main.rs')
| -rw-r--r-- | pkgs/by-name/no/notify-run/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/no/notify-run/src/main.rs b/pkgs/by-name/no/notify-run/src/main.rs index 18b7af58..2aefd4df 100644 --- a/pkgs/by-name/no/notify-run/src/main.rs +++ b/pkgs/by-name/no/notify-run/src/main.rs @@ -16,7 +16,7 @@ fn main() -> Result<()> { let args = args().skip(1).collect::<Vec<_>>(); let mut cmd = Command::new(&args[0]); - cmd.args(&args[1..]); + cmd.args(args[1].split(" ").collect::<Vec<_>>().as_slice()); eprintln!("Spawning {:?}", cmd); |
