Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge pull request #36 from iain/remove-autoload

Removed Autoload to solve threading issues
  • Loading branch information...
commit b12c091746b5bd1d42f0502a91a9f537911bb8ad 2 parents 6730cce + 9c7504d
Jari Bakken authored

Showing 1 changed file with 4 additions and 3 deletions. Show diff stats Hide diff stats

  1. +4 3 lib/childprocess.rb
7 lib/childprocess.rb
@@ -4,9 +4,6 @@
4 4 require "fcntl"
5 5
6 6 module ChildProcess
7   - autoload :Unix, 'childprocess/unix'
8   - autoload :Windows, 'childprocess/windows'
9   - autoload :JRuby, 'childprocess/jruby'
10 7
11 8 @posix_spawn = false
12 9
@@ -172,3 +169,7 @@ def warn_once(msg)
172 169 end # ChildProcess
173 170
174 171 require 'jruby' if ChildProcess.jruby?
  172 +
  173 +require 'childprocess/unix' if ChildProcess.unix?
  174 +require 'childprocess/windows' if ChildProcess.windows?
  175 +require 'childprocess/jruby' if ChildProcess.jruby?

0 comments on commit b12c091

Please sign in to comment.
Something went wrong with that request. Please try again.