Process execution API: codeRun() and executeCommand() for immediate execution, sessions for stateful command sequences, PTY for interactive terminals.