                                      :shell-args shell-args
                                      :shell-pipe shell-pipe
                                      :post-process-template post-process-template
-                                     :on-completion on-completion))
+                                     :on-completion on-completion
+                                     :silent-success (string-prefix-p " " script)))
 
 (defun dwim-shell-command--marked-files ()
   "Return buffer file (if available) or marked files for a `dired' buffer."

                           (window-buffer (selected-window)))
              (if oldest-new-file
                  (kill-buffer (process-buffer process))
                (switch-to-buffer (process-buffer process))))))
      (if (and (buffer-name (process-buffer process))
               (y-or-n-p (format "Couldn't run %s, see output? " (buffer-name (process-buffer process)))))
          (switch-to-buffer (process-buffer process))

  (dwim-shell-command-on-marked-files
   "DWIM shell command" (read-shell-command "DWIM shell command: ")))

(cl-defun dwim-shell-command-execute-script (buffer-name script &key files extensions shell-util shell-args shell-pipe utils post-process-template on-completion silent-success)
  "Execute a script asynchronously, DWIM style with SCRIPT and BUFFER-NAME.

:FILES are used to instantiate SCRIPT as a  noweb template.
