rtomayko / posix-spawn

Ruby process spawning library
Other
519 stars 52 forks source link

Circular require #15

Closed josh closed 13 years ago

josh commented 13 years ago

1.9 doesn't like circular requires. The readme shows require 'posix/spawn' loading POSIX::Spawn::Child so I preserved that behavior. This would break standalone require 'posix/spawn/child'. Not sure if you consider that public. Another workaround would be making Child an autoload in POSIX::Spawn.