[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #41246] Allow to switch shell batch mode at runtime instead of buil
From: |
Paul D. Smith |
Subject: |
[bug #41246] Allow to switch shell batch mode at runtime instead of build time |
Date: |
Sat, 18 Jan 2014 21:17:25 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.77 Safari/537.36 |
Follow-up Comment #5, bug #41246 (project make):
I'm not sure I like the idea of this being a special target in this way. It's
also possible that something like this COULD be used on UNIX systems; there
are limits to the size of command lines that can be invoked. On newer systems
like Linux that limit is pretty large (I think it's 16K or so on Linux) but it
exists, and on other systems it's much less.
There's long been requests for "@-file" support embedded in make although
exactly what form that would take hasn't been defined clearly IIRC.
Let me ask this: would it be possible to simply use the existing ONESHELL
capability and just say that on Windows it writes the script to a file and
invokes the shell on it?
The downside of this is that ONESHELL actually behaves differently (although
often this doesn't matter).
Also, if the "normal" behavior doesn't handle something as basic as quoting
properly, why is BATCH_MODE_ONLY_SHELL not the default? Is there a downside
to it?
Or alternatively, if we detect that the script has content that might be
problematic (quotes) we could automatically use the batch mode.
I guess I'd just prefer things to work right automatically, without
recompiling make or adding new pseudo targets. Is there a reason this is
tricky or difficult?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?41246>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug #41246] Allow to switch shell batch mode at runtime instead of build time, anonymous, 2014/01/16
- [bug #41246] Allow to switch shell batch mode at runtime instead of build time, Mike Hommey, 2014/01/16
- [bug #41246] Allow to switch shell batch mode at runtime instead of build time, Eli Zaretskii, 2014/01/17
- [bug #41246] Allow to switch shell batch mode at runtime instead of build time, Paul D. Smith, 2014/01/17
- [bug #41246] Allow to switch shell batch mode at runtime instead of build time, Mike Hommey, 2014/01/17
- [bug #41246] Allow to switch shell batch mode at runtime instead of build time,
Paul D. Smith <=
- Re: [bug #41246] Allow to switch shell batch mode at runtime instead of build time, David Boyce, 2014/01/18
- [bug #41246] Allow to switch shell batch mode at runtime instead of build time, Mike Hommey, 2014/01/18
- [bug #41246] Allow to switch shell batch mode at runtime instead of build time, Mike Hommey, 2014/01/18
- [bug #41246] Allow to switch shell batch mode at runtime instead of build time, Paul D. Smith, 2014/01/18
- [bug #41246] Allow to switch shell batch mode at runtime instead of build time, Paul D. Smith, 2014/01/18
- [bug #41246] Allow to switch shell batch mode at runtime instead of build time, Mike Hommey, 2014/01/31
- Re: [bug #41246] Allow to switch shell batch mode at runtime instead of build time, Eli Zaretskii, 2014/01/31
- Re: [bug #41246] Allow to switch shell batch mode at runtime instead of build time, Mike Hommey, 2014/01/31
- Re: [bug #41246] Allow to switch shell batch mode at runtime instead of build time, Eli Zaretskii, 2014/01/31
- Re: [bug #41246] Allow to switch shell batch mode at runtime instead of build time, Paul Smith, 2014/01/31