On Mon, Feb 17, 2014 at 20:36:40 -0500, Mike Shal wrote:
> Tup has some support for response files when groups are used, but I don't
> think that helps in this particular case where it is just a long
> command-lines. I filed an issue for it:
> https://github.com/gittup/tup/issues/165
> 
> Using ^r sounds ok to me, though it would probably be better if we could
> just know the limit in Windows and handle it before we try to execute the
> command (either by creating a response file when possible, or reporting the
> error in tup).

This KB article[1] seems to say it is 2047 for versions older than XP
and 8191 for newer versions.

> Is there a case where we'd want to use a response file even if the
> length of the command-line doesn't require it?

Not that I can think of, but I don't know for sure. FWIW,
CMake-generated Ninja files are currently all-or-nothing for response
files (though a property could be set on a source file or target to do
so instead I suppose).

--Ben

[1]http://support.microsoft.com/kb/830473

-- 
-- 
tup-users mailing list
email: [email protected]
unsubscribe: [email protected]
options: http://groups.google.com/group/tup-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"tup-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to