###### (This is the documentation for SDL3, which is under heavy development and the API is changing! [SDL2](https://wiki.libsdl.org/SDL2/) is the current stable version!) # SDL_DestroyProcess Destroy a previously created process object. ## Header File Defined in [](https://github.com/libsdl-org/SDL/blob/main/include/SDL3/SDL_process.h) ## Syntax ```c void SDL_DestroyProcess(SDL_Process *process); ``` ## Function Parameters | | | | | ---------------------------- | ----------- | ------------------------------ | | [SDL_Process](SDL_Process) * | **process** | The process object to destroy. | ## Remarks 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](SDL_KillProcess)(). ## Thread Safety This function is not thread safe. ## Version This function is available since SDL 3.0.0. ## See Also - [SDL_CreateProcess](SDL_CreateProcess) - [SDL_CreateProcessWithProperties](SDL_CreateProcessWithProperties) - [SDL_KillProcess](SDL_KillProcess) ---- [CategoryAPI](CategoryAPI), [CategoryAPIFunction](CategoryAPIFunction), [CategoryProcess](CategoryProcess)