DOKK / manpages / debian 13 / libsdl3-doc / SDL_DestroyProcess.3.en
SDL_DestroyProcess(3) SDL3 FUNCTIONS SDL_DestroyProcess(3)

SDL_DestroyProcess - Destroy a previously created process object.

Defined in SDL3/SDL_process.h

#include "SDL3/SDL.h"
void SDL_DestroyProcess(SDL_Process *process);

Note that this does not stop the process, just destroys the SDL object used to track it. If you want to stop the process you should use

SDL_KillProcess ().

The process object to destroy.

This function is not thread safe.

This function is available since SDL 3.2.0.

(3), SDL_CreateProcess(3), (3), SDL_CreateProcessWithProperties(3), (3), SDL_KillProcess(3)

SDL 3.2.10 Simple Directmedia Layer