Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
448
pub 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
exec
Function · 0.50
Calls
2
info
Function · 0.50
Err
Enum · 0.50
Tested by
no test coverage detected