code: def run(script, args='', **kwargs):
      '''Execute specified script using bash. This action accepts common action arguments such as
      input, active, workdir, docker_image and args. In particular, content of one or more files
      specified by option input would be prepended before the specified script.'''
      if sys.platform == 'win32':
          # in the case there is no interpreter, we put the script
          # at first (this is the case for windows)
          # and we donot add default args.
          interpreter = ''
      else:
          # if there is a shebang line, we ...
          if not script.startswith('#!'):
              interpreter = '/bin/bash'
              if not args:
                  args = '-ev {filename:q}'
          else:
              # execute script directly
              interpreter = ''
      return SoS_ExecuteScript(script, interpreter, '', args).run(**kwargsf run(script, args='', **kwargs):
      '''Execute specified script using bash. This action accepts common action arguments such as
      input, active, workdir, docker_image and args. In particular, content of one or more files
      specified by option input would be prepended before the specified script.'''
      if sys.platform == 'win32':
          # in the case there is no interpreter, we put the script
          # at first (this is the case for windows)
          # and we donot add default args.
          interpreter = ''
      else:
          # if there is a shebang line, we ...
          if not script.startswith('#!'):
              interpreter = '/bin/bash'
              if not args:
                  args = '-ev {filename:q}'
          else:
              # execute script directly
              interpreter = ''
      return SoS_ExecuteScript(script, interpreter, '', args).run(**kwargs)
docs: Execute specified script using bash. This action accepts common action arguments such as
      input, active, workdir, docker_image and args. In particular, content of one or more files
      specified by option input would be prepended before the specified script.