autocommit 2022-02-15 23:50:26 CET
This commit is contained in:
parent
3591f6f4f9
commit
086f2f73f4
5 changed files with 43 additions and 30 deletions
|
|
@ -128,7 +128,11 @@ impl Client {
|
|||
}
|
||||
|
||||
pub fn spawn(&self, command: &Command) {
|
||||
let env = command.env.iter().map(|(a, b)| (a.to_string(), b.to_string())).collect();
|
||||
let env = command
|
||||
.env
|
||||
.iter()
|
||||
.map(|(a, b)| (a.to_string(), b.to_string()))
|
||||
.collect();
|
||||
self.send(&ClientMessage::Run {
|
||||
prog: &command.prog,
|
||||
args: command.args.clone(),
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
#![feature(thread_local_const_init)]
|
||||
|
||||
use std::collections::HashMap;
|
||||
use crate::keyboard::keymap::Keymap;
|
||||
use crate::keyboard::ModifiedKeySym;
|
||||
use bincode::{Decode, Encode};
|
||||
use std::collections::HashMap;
|
||||
|
||||
#[macro_use]
|
||||
mod macros;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue