Class: Owasp::Esapi::Executor
- Inherits:
-
Object
- Object
- Owasp::Esapi::Executor
- Defined in:
- lib/executor.rb
Overview
Executor class
Instance Method Summary collapse
-
#execute_command(cmd, params, working_dir, codec, redirect_error) ⇒ Object
Wrapper for Process#spawn it sanitizes the parames and validates paths before execution.
Instance Method Details
#execute_command(cmd, params, working_dir, codec, redirect_error) ⇒ Object
Wrapper for Process#spawn it sanitizes the parames and validates paths before execution
14 15 16 17 |
# File 'lib/executor.rb', line 14 def execute_command(cmd,params,working_dir,codec,redirect_error) cmd_path = File.(cmd) end |