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, **options)
	if wet?
		@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
end