code: def from_raw_script(cls, raw_script):
          
          script = format_raw_script(raw_script)
          if not script:
              raise EmptyCommand
  
          expanded = shell.from_shell(script)
          output = get_output(script, expanded)
          return cls(expanded, output)
docs: Creates instance of `Command` from a list of script parts.
  
          :type raw_script: [basestring]
          :rtype: Command
          :raises: EmptyCommand