Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #38 from iconoclast/aix

Add AIX as a recognized os
  • Loading branch information...
commit d596e4fab900fe7ab2b4b5657daf9ee74025ef9b 2 parents 2a242d7 + ea4e16d
@jarib authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/childprocess.rb
View
4 lib/childprocess.rb
@@ -10,7 +10,7 @@ module ChildProcess
class << self
def new(*args)
case os
- when :macosx, :linux, :solaris, :bsd, :cygwin
+ when :macosx, :linux, :solaris, :bsd, :cygwin, :aix
if posix_spawn?
Unix::PosixSpawnProcess.new(args)
elsif jruby?
@@ -102,6 +102,8 @@ def os
:solaris
when /bsd/
:bsd
+ when /aix/
+ :aix
else
raise Error, "unknown os: #{host_os.inspect}"
end
Please sign in to comment.
Something went wrong with that request. Please try again.