sdl3/sdl_process library

Functions

sdlCreateProcess(Pointer<Pointer<Int8>> args, bool pipeStdio) → Pointer<SdlProcess> process
Create a new process.
sdlCreateProcessWithProperties(int props) → Pointer<SdlProcess> process
Create a new process with the specified properties.
sdlDestroyProcess(Pointer<SdlProcess> process) → void process
Destroy a previously created process object.
sdlGetProcessInput(Pointer<SdlProcess> process) → Pointer<SdlIoStream> process
Get the SDL_IOStream associated with process standard input.
sdlGetProcessOutput(Pointer<SdlProcess> process) → Pointer<SdlIoStream> process
Get the SDL_IOStream associated with process standard output.
sdlGetProcessProperties(Pointer<SdlProcess> process) → int process
Get the properties associated with a process.
sdlKillProcess(Pointer<SdlProcess> process, bool force) → bool process
Stop a process.
sdlReadProcess(Pointer<SdlProcess> process, Pointer<Size> datasize, Pointer<Int32> exitcode) → Pointer<Void> process
Read all the output from a process.
sdlWaitProcess(Pointer<SdlProcess> process, bool block, Pointer<Int32> exitcode) → bool process
Wait for a process to finish.
sdlxCreateProcess(List<String> args, {bool pipeStdio = false}) → Pointer<SdlProcess> process
Create a new process.
sdlxReadProcess(Pointer<SdlProcess> process) → ({Uint8List data, int datasize, int exitcode})? process
Read all the output from a process.
sdlxWaitProcess(Pointer<SdlProcess> process, {bool block = false}) → int? process
Wait for a process to finish.