When -x or -v is given, print the sh command we're executing.
This commit is contained in:
parent
4669903887
commit
b3a14a28c4
1 changed files with 1 additions and 0 deletions
|
|
@ -110,6 +110,7 @@ class BuildJob:
|
|||
os.dup2(self.f.fileno(), 1)
|
||||
os.close(self.f.fileno())
|
||||
close_on_exec(1, False)
|
||||
if vars.VERBOSE or vars.XTRACE: log_('* %s\n' % ' '.join(self.argv))
|
||||
os.execvp(self.argv[0], self.argv)
|
||||
assert(0)
|
||||
# returns only if there's an exception
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue