lib/multi_process/process.rb in multi_process-0.2.0 vs lib/multi_process/process.rb in multi_process-0.3.0

- old
+ new

@@ -27,10 +27,10 @@ @childprocess = create_childprocess *args @env = opts[:env] if Hash === opts[:env] @env_clean = opts[:clean_env].nil? ? true : !!opts[:clean_env] - self.receiver = MultiProcess::Logger.global + self.receiver = opts[:receiver] || MultiProcess::Logger.global self.dir = Dir.pwd self.dir = opts[:dir].to_s if opts[:dir] end