From: Fabio Leimgruber <fabio.leimgruber@web.de>
To: 19817@debbugs.gnu.org
Subject: bug#19817: 24.4; cmdproxy fails on some .exe when given a path argument
Date: Mon, 09 Feb 2015 15:46:12 +0100 [thread overview]
Message-ID: <54D8C834.8000406@web.de> (raw)
In-Reply-To: <83r3u09p8i.fsf@gnu.org>
On 2/8/15 8:29 PM, Eli Zaretskii wrote:
>
> You are not supposed to invoke cmdproxy directly, only via Emacs
> functions that invoke shell commands. So please show a test case
> which works with "write" or "write.exe" or "write.test.exe", but fails
> with "write.test".
>
(defun compile-quoted (command &rest args)
"Run `compile' with COMMAND and ARGS quoted.
Useful if you can not be sure if there are special characters in
the command or arguments, like `start-process' allows."
(let ((compile-command (mapconcat #'shell-quote-argument
(cons command args)
" ")))
(compile compile-command)))
(compile-quoted "write" "d:/asdf.txt")
(compile-quoted "write.test" "d:/asdf.txt")
next prev parent reply other threads:[~2015-02-09 14:46 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-08 14:57 bug#19817: 24.4; cmdproxy fails on some .exe when given a path argument Fabio Leimgruber
2015-02-08 19:29 ` Eli Zaretskii
2015-02-08 19:43 ` Eli Zaretskii
2015-02-09 14:46 ` Fabio Leimgruber [this message]
2015-02-09 17:43 ` Eli Zaretskii
2015-02-09 20:47 ` Fabio Leimgruber
2015-02-10 16:29 ` Eli Zaretskii
2015-02-13 22:34 ` Fabio Leimgruber
2015-02-14 8:43 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54D8C834.8000406@web.de \
--to=fabio.leimgruber@web.de \
--cc=19817@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.