Skip to main content

spawn_kernel

Function spawn_kernel 

Source
pub fn spawn_kernel(args: &[&str], show_console: bool) -> Result<Child>
Expand description

Spawns the REKTAL Kernel executable with optional arguments and console window.

Convenience wrapper around spawn_process with bin_name = "kernel".

§Arguments

  • args - Command-line arguments passed to the Kernel binary.
  • show_console - Whether to display a native console window.

§Examples

use launcher::spawn_process::spawn_kernel;

// Spawns the kernel in a visible terminal window
let _child = spawn_kernel(&[], true);