Method: Build::BuildTask#spawn
- Defined in:
- lib/build/build_node.rb
#spawn(*arguments, **options) ⇒ Object
102 103 104 105 106 107 108 109 110 111 |
# File 'lib/build/build_node.rb', line 102 def spawn(*arguments, **) if wet? @logger&.info(self) {Console::Event::Spawn.for(*arguments, **)} status = @group.spawn(*arguments, **) if status != 0 raise CommandFailure.new(self, arguments, status) end end end |