Exception: ChildProcess::MissingPlatformError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/childprocess/errors.rb

Instance Method Summary collapse

Constructor Details

#initializeMissingPlatformError

Returns a new instance of MissingPlatformError.



9
10
11
12
13
14
15
16
# File 'lib/childprocess/errors.rb', line 9

def initialize
  platform = ChildProcess.platform_name

  message = "posix_spawn is not yet supported on #{ChildProcess.platform_name} (#{RUBY_PLATFORM}), falling back to default implementation. " +
            "If you believe this is an error, please file a bug at http://github.com/jarib/childprocess/issues"

  super(message)
end