Class: Daytona::SessionExecuteRequest
- Inherits:
-
Object
- Object
- Daytona::SessionExecuteRequest
- Defined in:
- lib/daytona/common/process.rb
Instance Attribute Summary collapse
-
#command ⇒ String
The command to execute.
-
#run_async ⇒ Boolean
Whether to execute the command asynchronously.
-
#suppress_input_echo ⇒ Boolean
Whether to suppress input echo.
Instance Method Summary collapse
-
#initialize(command:, run_async: false, suppress_input_echo: false) ⇒ SessionExecuteRequest
constructor
Initialize a new SessionExecuteRequest.
Constructor Details
#initialize(command:, run_async: false, suppress_input_echo: false) ⇒ SessionExecuteRequest
Initialize a new SessionExecuteRequest
80 81 82 83 84 |
# File 'lib/daytona/common/process.rb', line 80 def initialize(command:, run_async: false, suppress_input_echo: false) @command = command @run_async = run_async @suppress_input_echo = suppress_input_echo end |
Instance Attribute Details
#command ⇒ String
Returns The command to execute.
67 68 69 |
# File 'lib/daytona/common/process.rb', line 67 def command @command end |
#run_async ⇒ Boolean
Returns Whether to execute the command asynchronously.
70 71 72 |
# File 'lib/daytona/common/process.rb', line 70 def run_async @run_async end |
#suppress_input_echo ⇒ Boolean
Returns Whether to suppress input echo.
73 74 75 |
# File 'lib/daytona/common/process.rb', line 73 def suppress_input_echo @suppress_input_echo end |