MCPcopy Create free account
hub / github.com/LibertyOS-Development/kernel / spawn

Function spawn

src/sys/proc.rs:448–456  ·  view source on GitHub ↗

Spawn

(path: &str)

Source from the content-addressed store, hash-verified

446
447// Spawn
448pub fn spawn(path: &str) -> Result<(), ()>
449{
450 if crate::sys::sc::info(&path).is_some()
451 {
452 crate::sys::sc::spawn(&path);
453 return Ok(());
454 }
455 Err(())
456}
457
458
459// User

Callers 1

execFunction · 0.50

Calls 2

infoFunction · 0.50
ErrEnum · 0.50

Tested by

no test coverage detected