File size: 305 Bytes
9425aed
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
//! SEB (Sovereign Event Bus) Erlang/OTP node launcher

pub fn spawn_seb_node() -> bool {
    let result = std::process::Command::new("erl")
        .arg("-noshell")
        .arg("-eval")
        .arg("seb_supervisor:boot(), timer:sleep(infinity).")
        .spawn();
    
    result.is_ok()
}