spawn_file

Function spawn_file 

Source
pub async fn spawn_file(path: &PathBuf, options: ScriptOptions) -> Result<Child>
Expand description

Spawn an OpenScript process from a file without waiting for completion.

This function spawns a script file using the OpenScript interpreter and returns a Child handle for further interaction.

§Arguments

  • path - Path to the script file to execute
  • options - Configuration options for script execution

§Returns

Returns a Child process handle.