Class: RubyWasm::SilentExecutor

Inherits:
Object
  • Object
show all
Includes:
_CommandExecutor
Defined in:
lib/ruby_wasm/build/executor.rb,
sig/ruby_wasm/build.rbs

Instance Method Summary collapse

Instance Method Details

#system(*args, chdir: nil, env: nil) ⇒ Object



151
152
153
154
155
156
157
# File 'lib/ruby_wasm/build/executor.rb', line 151

def system(*args, chdir: nil, env: nil)
  # @type var kwargs: Hash[Symbol, untyped]
  kwargs = {}
  kwargs[:chdir] = chdir if chdir
  kwargs[:exception] = true
  __skip__ = env ? Kernel.system(env, *args, **kwargs) : Kernel.system(*args, **kwargs)
end