docs: def send(self,
  	         send,
  	         expect=None,
  	         shutit_pexpect_child=None,
  	         timeout=None,
  	         check_exit=None,
  	         fail_on_empty_before=True,
  	         record_command=True,
  	         exit_values=None,
  	         echo=None,
  	         escape=False,
  	         retry=3,
  	         note=None,
  	         assume_gnu=True,
  	         follow_on_commands=None,
  	         searchwindowsize=None,
  	         maxread=None,
  	         delaybeforesend=None,
  	         secret=False,
  	         nonewline=False,
  	         background=False,
  	         wait=True,
  	         block_other_commands=True,
  	         loglevel=logging.INFO):
  		"""Send string as a shell command, and wait until the expected output
  		is seen (either a string or any from a list of strings) before
  		returning. The expected string will default to the currently-set
  		default expected string (see get_default_shutit_pexpect_session_expect)
  
  		Returns the pexpect return value (ie which expected string in the list
  		matched)
  
  		@param send: See shutit.ShutItSendSpec
  		@param expect: See shutit.ShutItSendSpec
  		@param shutit_pexpect_child: See shutit.ShutItSendSpec
  		@param timeout: See shutit.ShutItSendSpec
  		@param check_exit: See shutit.ShutItSendSpec
  		@param fail_on_empty_before:See shutit.ShutItSendSpec
  		@param record_command:See shutit.ShutItSendSpec
  		@param exit_values:See shutit.ShutItSendSpec
  		@param echo: See shutit.ShutItSendSpec
  		@param escape: See shutit.ShutItSendSpec
  		@param retry: See shutit.ShutItSendSpec
  		@param note: See shutit.ShutItSendSpec
  		@param assume_gnu: See shutit.ShutItSendSpec
  		@param wait: See shutit.ShutItSendSpec
  		@param block_other_commands: See shutit.ShutItSendSpec.block_other_commands
  		@return: The pexpect return value (ie which expected string in the list matched)
  		@rtype: string
  		"""
  		shutit_global.shutit_global_object.yield_to_draw()
  		shutit_pexpect_child = shutit_pexpect_child or self.get_current_shutit_pexpect_session().pexpect_child
  		shutit_pexpect_session = self.get_shutit_pexpect_session_from_child(shutit_pexpect_child)
  		ignore_background = not wait
  		return shutit_pexpect_session.send(ShutItSendSpec(shutit_pexpect_session,
  		                                                  send,
  		                                                  expect=expect,
  		                                                  timeout=timeout,
  		                                                  check_exit=check_exit,
  		                                                  fail_on_empty_before=fail_on_empty_before,
  		                                                  record_command=record_command,
  		                                                  exit_values=exit_values,
  		                                                  echo=echo,
  		                                                  escape=escape,
  		                                                  retry=retry,
  		                                                  note=note,
  		                                                  assume_gnu=assume_gnu,
  		                                                  loglevel=loglevel,
  		                                                  follow_on_commands=follow_on_commands,
  		                                                  searchwindowsize=searchwindowsize,
  		                                                  maxread=maxread,
  		                                                  delaybeforesend=delaybeforesend,
  		                                                  secret=secret,
  		                                                  nonewline=nonewline,
  		                                                  run_in_background=background,
  		                                                  ignore_background=ignore_background,
  		                                                  block_other_commands=block_other_commands))