Class: VBox::Process
- Inherits:
-
Base
- Object
- Base
- VBox::Process
show all
- Defined in:
- lib/virtualbox/classes/process.rb
Instance Attribute Summary
Attributes inherited from Base
#ref
Instance Method Summary
collapse
Methods inherited from Base
#_this, #delete!, #ensure_hash, #initialize, #vbox_class
Constructor Details
This class inherits a constructor from VBox::Base
Instance Method Details
#arguments ⇒ Object
22
23
24
|
# File 'lib/virtualbox/classes/process.rb', line 22
def arguments
VBox::WebService.send_request(:i_process_get_arguments, _this)
end
|
#environment ⇒ Object
18
19
20
|
# File 'lib/virtualbox/classes/process.rb', line 18
def environment
VBox::WebService.send_request(:i_process_get_environment, _this)
end
|
#executable_path ⇒ Object
26
27
28
|
# File 'lib/virtualbox/classes/process.rb', line 26
def executable_path
VBox::WebService.send_request(:i_process_get_executable_path, _this)
end
|
#exit_code ⇒ Object
14
15
16
|
# File 'lib/virtualbox/classes/process.rb', line 14
def exit_code
VBox::WebService.send_request(:i_process_get_exit_code, _this)
end
|
#name ⇒ Object
30
31
32
|
# File 'lib/virtualbox/classes/process.rb', line 30
def name
VBox::WebService.send_request(:i_process_get_name, _this)
end
|
#read(args = {}) ⇒ Object
36
37
38
39
|
# File 'lib/virtualbox/classes/process.rb', line 36
def read(args={})
ensure_hash args
VBox::WebService.send_request(:i_process_read, _this.merge(args))
end
|
#status ⇒ Object
10
11
12
|
# File 'lib/virtualbox/classes/process.rb', line 10
def status
VBox::WebService.send_request(:i_process_get_status, _this)
end
|
#terminate ⇒ Object
41
42
43
|
# File 'lib/virtualbox/classes/process.rb', line 41
def terminate
VBox::WebService.send_request(:i_process_terminate, _this)
end
|
#wait_for(args = {}) ⇒ Object
45
46
47
48
|
# File 'lib/virtualbox/classes/process.rb', line 45
def wait_for(args={})
ensure_hash args
VBox::WebService.send_request(:i_process_wait_for, _this.merge(args))
end
|
#wait_for_array(args = {}) ⇒ Object
50
51
52
53
|
# File 'lib/virtualbox/classes/process.rb', line 50
def wait_for_array(args={})
ensure_hash args
VBox::WebService.send_request(:i_process_wait_for_array, _this.merge(args))
end
|
#write(args = {}) ⇒ Object
55
56
57
58
|
# File 'lib/virtualbox/classes/process.rb', line 55
def write(args={})
ensure_hash args
VBox::WebService.send_request(:i_process_write, _this.merge(args))
end
|
#write_array(args = {}) ⇒ Object
60
61
62
63
|
# File 'lib/virtualbox/classes/process.rb', line 60
def write_array(args={})
ensure_hash args
VBox::WebService.send_request(:i_process_write_array, _this.merge(args))
end
|