Module: TestServer::RunCommand
- Included in:
- VirusDetector
- Defined in:
- lib/test_server/command_runner.rb
Instance Method Summary collapse
Instance Method Details
#run_command(command, timeout: 5) ⇒ Object
53 54 55 56 |
# File 'lib/test_server/command_runner.rb', line 53 def run_command(command, timeout: 5) runner = CommandRunner.new(timeout: timeout) runner.run(command) end |