Skip to content

ProcDeinit

Description

Tear down a Proc. Closes any open fds / HANDLEs the parent held open for the child’s stdin/stdout/stderr pipes. Does NOT terminate the child – call ProcTerminate first if you want that. Safe on a zeroed (never-spawned) Proc.

Usage example (Cross-references)

Usage examples (Cross-references)
    
    
    void ProcDeinit(Proc *proc) {
        if (!proc) {
            return;
Last updated on