<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def exec_command( client, container, command, interactive=True, stdout=None, stderr=None, stdin=None):
 """ Run provided command via exec API in provided container. This is just a wrapper for PseudoTerminal(client, container).exec_command() """

    exec_id = exec_create(client, container, command, interactive=interactive)

    operation = ExecOperation(client, exec_id,
                              interactive=interactive, stdout=stdout, stderr=stderr, stdin=stdin)
    PseudoTerminal(client, operation).start()