Fix bug #18745 with invoking Windows batch files with embedded whitespace.
commita91ff4f4b1d835cc2c723429c06ddcb357f807c8
authorNoam Postavsky <npostavs@gmail.com>
Sat, 25 Oct 2014 09:12:01 +0000 (25 12:12 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 25 Oct 2014 09:12:01 +0000 (25 12:12 +0300)
treef32ac836d8644b60cbd6408acd4de9967c70e53a
parentb5dc75aed71ecb2310a6689e2f7082243aa7e4ab
Fix bug #18745 with invoking Windows batch files with embedded whitespace.

 src/w32proc.c (create_child): If calling a quoted batch file,
 pass NULL for exe.

 nt/cmdproxy.c (batch_file_p): New function.
 (spawn): If calling a quoted batch file pass NULL for progname.

 test/automated/process-tests.el (process-test-quoted-batfile): New test.
nt/ChangeLog
nt/cmdproxy.c
src/ChangeLog
src/w32proc.c
test/ChangeLog
test/automated/process-tests.el