code: def shell(command, *args):
  	'''Pass a command into the shell.'''
  	if args:
  		command = command.format(*args)
  
  	print LOCALE['shell'].format(command)
  
  	try:
  		return subprocess.check_output(command, shell=True)
  	except subprocess.CalledProcessError, ex:
  		return ef shell(command, *args):
  	'''Pass a command into the shell.'''
  	if args:
  		command = command.format(*args)
  
  	print LOCALE['shell'].format(command)
  
  	try:
  		return subprocess.check_output(command, shell=True)
  	except subprocess.CalledProcessError, ex:
  		return ex
docs: Pass a command into the shell.