<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def run(command, **kwargs):
 """Excecutes the given command while transfering control, till the execution is complete. """

  print command
  p = Popen(shlex.split(command), **kwargs)
  p.wait()

  return p.returncode