fn wait(self: *ChildProcess) !Term

Blocks until child process terminates and then cleans up all resources.

Parameters

self: *ChildProcess,