# Functions

Exec executes commands sequentially and terminates the running one gracefully if context is cancelled.