Josef> (call-process command nil 0 nil (shell-quote-argument
    Josef> (dired-get-filename))))

    Kevin> That doesn't make sense to me.  call-process passes its
    Kevin> &rest ARGS directly to PROGRAM, without any word-splitting
    Kevin> etc. by the shell.  So shell-quote-argument is unecessary,
    Kevin> and in fact could introduce quoting characters that would
    Kevin> be interpreted as part of the file name.

I think you are right: It works better without the
shell-quote-argument. Please excuse that mistake --- I told you I'm
far from a lisp guru!

Always trying to avoid such things like spaces in filenames I don't
need this very often. I think I had a case where it worked with the
shell-quote-argument but I can't remember what it was.

Best regards

Josef
_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Reply via email to