[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#18745: 24.3; MS Windows, `call-process-shell-command' fails on `shel
From: |
Noam Postavsky |
Subject: |
bug#18745: 24.3; MS Windows, `call-process-shell-command' fails on `shell-quote-argument'ed bat file with quoted args |
Date: |
Thu, 16 Oct 2014 17:30:57 -0400 |
On Thu, Oct 16, 2014 at 1:06 PM, Eli Zaretskii <eliz@gnu.org> wrote:
> GNU Make overcomes this by detecting these cases, and invoking
> CreateProcess in a special way (NULL as the first argument), see the
> function process_begin there, around line 710 of sub_proc.c in the GNU
> Make sources. If you can come up with a way to do the same in Emacs,
> by some suitable patch to cmdproxy.c, such a patch will be welcome
> (assuming either the patch is small, or you will agree to sign legal
> papers necessary for submitting substantial patches to FSF projects).
I'll take a look (btw I have already signed for Emacs).
> Failing that, I can suggest a workaround: use the short 8+3 alias of
> the file name with whitespace. You can obtain the short alias of any
> existing file's name by calling w32-short-filename. Then you won't
> need to quote the batch file name.
s/w32-short-filename/w32-short-file-name/
That works regardless if the program is a bat or exe which will make
things simpler, thanks.
- bug#18745: 24.3; MS Windows, `call-process-shell-command' fails on `shell-quote-argument'ed bat file with quoted args, Noam Postavsky, 2014/10/16
- bug#18745: 24.3; MS Windows, `call-process-shell-command' fails on `shell-quote-argument'ed bat file with quoted args, Eli Zaretskii, 2014/10/16
- bug#18745: 24.3; MS Windows, `call-process-shell-command' fails on `shell-quote-argument'ed bat file with quoted args, Stefan Monnier, 2014/10/16
- bug#18745: 24.3; MS Windows, `call-process-shell-command' fails on `shell-quote-argument'ed bat file with quoted args, Noam Postavsky, 2014/10/16
- bug#18745: 24.3; MS Windows, `call-process-shell-command' fails on `shell-quote-argument'ed bat file with quoted args, Eli Zaretskii, 2014/10/16
- bug#18745: 24.3; MS Windows, `call-process-shell-command' fails on `shell-quote-argument'ed bat file with quoted args,
Noam Postavsky <=
- bug#18745: 24.3; MS Windows, `call-process-shell-command' fails on `shell-quote-argument'ed bat file with quoted args, Noam Postavsky, 2014/10/21
- bug#18745: 24.3; MS Windows, `call-process-shell-command' fails on `shell-quote-argument'ed bat file with quoted args, Eli Zaretskii, 2014/10/22
- bug#18745: 24.3; MS Windows, `call-process-shell-command' fails on `shell-quote-argument'ed bat file with quoted args, Noam Postavsky, 2014/10/22
- bug#18745: 24.3; MS Windows, `call-process-shell-command' fails on `shell-quote-argument'ed bat file with quoted args, Eli Zaretskii, 2014/10/23
- bug#18745: 24.3; MS Windows, `call-process-shell-command' fails on `shell-quote-argument'ed bat file with quoted args, Eli Zaretskii, 2014/10/25
- bug#18745: 24.3; MS Windows, `call-process-shell-command' fails on `shell-quote-argument'ed bat file with quoted args, Noam Postavsky, 2014/10/25
- bug#18745: 24.3; MS Windows, `call-process-shell-command' fails on `shell-quote-argument'ed bat file with quoted args, Stefan Monnier, 2014/10/16
- bug#18745: 24.3; MS Windows, `call-process-shell-command' fails on `shell-quote-argument'ed bat file with quoted args, Noam Postavsky, 2014/10/16
- bug#18745: 24.3; MS Windows, `call-process-shell-command' fails on `shell-quote-argument'ed bat file with quoted args, Stefan Monnier, 2014/10/16
- bug#18745: 24.3; MS Windows, `call-process-shell-command' fails on `shell-quote-argument'ed bat file with quoted args, Eli Zaretskii, 2014/10/17