make-w32
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug: make fails to execute .BAT files with space in the path, with S


From: Eli Zaretskii
Subject: Re: Bug: make fails to execute .BAT files with space in the path, with SHELL=cmd.exe
Date: Mon, 29 Apr 2013 05:40:25 +0300

> Date: Sun, 28 Apr 2013 22:15:11 +0200
> From: Erik Carstensen <address@hidden>
> Cc: address@hidden
> 
> The problem only happens when make attempts to run the command directly
> (short-circuiting cmd.exe). So one workaround might be to quote spaces with
> double quotes instead of backslashes when invoking commands.

Alas, this won't help you for long, because the next release of Make
will not invoke cmd.exe just because the command line has quotes.
Such commands are also short-circuited in the development sources.

When invoking commands through cmd.exe, the problem disappears because
cmd.exe's name does not include whitespace.  As I wrote, the problem
only happens when _both_ the command and its arguments are quited and
include whitespace.  I'm not yet sure why this triggers the problem.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]