lib/build/build_node.rb in build-2.6.0 vs lib/build/build_node.rb in build-2.6.1
- old
+ new
@@ -97,14 +97,14 @@
def wet?
@node.dirty?
end
- def spawn(*arguments)
+ def spawn(*arguments, **options)
if wet?
- @logger&.info(self) {Console::Event::Spawn.for(*arguments)}
- status = @group.spawn(*arguments)
+ @logger&.info(self) {Console::Event::Spawn.for(*arguments, **options)}
+ status = @group.spawn(*arguments, **options)
if status != 0
raise CommandFailure.new(self, arguments, status)
end
end
@@ -112,11 +112,11 @@
def shell_environment
@shell_environment ||= environment.flatten.export
end
- def run!(*arguments)
- self.spawn(shell_environment, *arguments)
+ def run!(*arguments, **options)
+ self.spawn(shell_environment, *arguments, **options)
end
def touch(path)
return unless wet?