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

Method quit

src/state.rs:421–423  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

419 }
420
421 pub fn quit(&mut self) {
422 self.loop_signal.stop();
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");

Callers 1

registerFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected