mirror of https://gitlab.com/ita1024/waf.git
Enable waf --zones=argfile to display @argfile contents
This commit is contained in:
parent
3686ac341d
commit
37388fda3b
|
@ -244,6 +244,8 @@ class TaskBase(evil):
|
|||
(fd, tmp) = tempfile.mkstemp()
|
||||
os.write(fd, '\r\n'.join(args).encode())
|
||||
os.close(fd)
|
||||
if Logs.verbose:
|
||||
Logs.debug('argfile: @%r -> %r', tmp, args)
|
||||
return self.generator.bld.exec_command(cmd + ['@' + tmp], **kw)
|
||||
finally:
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue