config: allow attaching file descriptors to commands
This commit is contained in:
parent
a1ba476e68
commit
2037a37c1e
8 changed files with 96 additions and 29 deletions
|
|
@ -375,6 +375,12 @@ pub enum ClientMessage<'a> {
|
|||
pollable: PollableId,
|
||||
writable: bool,
|
||||
},
|
||||
Run2 {
|
||||
prog: &'a str,
|
||||
args: Vec<String>,
|
||||
env: Vec<(String, String)>,
|
||||
fds: Vec<(i32, i32)>,
|
||||
},
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, Debug)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue