MCPcopy Create free account
hub / github.com/StrataWM/strata / spawn

Method spawn

src/state.rs:425–427  ·  view source on GitHub ↗
(&mut self, command: &str)

Source from the content-addressed store, hash-verified

423 }
424
425 pub fn spawn(&mut self, command: &str) {
426 Command::new("/bin/sh").arg("-c").arg(command).spawn().expect("Failed to spawn command");
427 }
428
429 pub fn handle_mods<I: InputBackend>(
430 &mut self,

Callers 1

registerFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected