> home > Custom Layer Boundary API

create_child_process

September 8th 2024
Create a child process of the 4coder process

Signature

C++
Child_Process_ID
create_child_process(Application_Links* app,
                     String_Const_u8 path,
                     String_Const_u8 command);

Parameters

app

the standard custom layer context pointer

path

the active path set for the new child process

command

the command that defines the action of the child process - this string is passed to the OS's default command line handler

Return

on success a non-zero id for the new child process which is unique across the entire 4coder session, zero on failure