Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #36 from iain/remove-autoload

Removed Autoload to solve threading issues
  • Loading branch information...
commit b12c091746b5bd1d42f0502a91a9f537911bb8ad 2 parents 6730cce + 9c7504d
@jarib authored
Showing with 4 additions and 3 deletions.
  1. +4 −3 lib/childprocess.rb
View
7 lib/childprocess.rb
@@ -4,9 +4,6 @@
require "fcntl"
module ChildProcess
- autoload :Unix, 'childprocess/unix'
- autoload :Windows, 'childprocess/windows'
- autoload :JRuby, 'childprocess/jruby'
@posix_spawn = false
@@ -172,3 +169,7 @@ def warn_once(msg)
end # ChildProcess
require 'jruby' if ChildProcess.jruby?
+
+require 'childprocess/unix' if ChildProcess.unix?
+require 'childprocess/windows' if ChildProcess.windows?
+require 'childprocess/jruby' if ChildProcess.jruby?
Please sign in to comment.
Something went wrong with that request. Please try again.