class Async::Container::Notify::Pipe

def environment_for(arguments)

def environment_for(arguments)
	# Insert or duplicate the environment hash which is the first argument:
	if arguments.first.is_a?(Hash)
		environment = arguments[0] = arguments.first.dup
	else
		arguments.unshift(environment = Hash.new)
	end
	
	return environment
end