Skip to content
Kward Search API index

Class: Kward::Sandbox::PassthroughRunner

Inherits:
CommandRunner show all
Defined in:
lib/kward/sandbox/passthrough_runner.rb

Overview

Preserves existing LocalCommandRunner behavior when sandboxing is off.

Instance Attribute Summary

Attributes inherited from CommandRunner

#capabilities, #policy

Instance Method Summary collapse

Methods inherited from CommandRunner

#initialize, #run

Constructor Details

This class inherits a constructor from Kward::Sandbox::CommandRunner

Instance Method Details

#command_argv(command, cwd:) ⇒ Object



8
9
10
# File 'lib/kward/sandbox/passthrough_runner.rb', line 8

def command_argv(command, cwd:)
  [command.to_s]
end