Class: Qt::Process
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.split_args(str) ⇒ Object
342 343 344 |
# File 'lib/rui/toolkits/qt/qt.rb', line 342 def self.split_args(str) str.split(/\s+/) end |
Instance Method Details
#output_channel_mode=(val) ⇒ Object
332 333 334 335 336 337 338 339 340 |
# File 'lib/rui/toolkits/qt/qt.rb', line 332 def output_channel_mode=(val) case val when :only_stdout setProcessChannelMode(Qt::Process::SeparateChannels) setReadChannel(Qt::Process::StandardOutput) else raise "Unsupported output mode #{val}" end end |
#run(path, args) ⇒ Object
346 347 348 |
# File 'lib/rui/toolkits/qt/qt.rb', line 346 def run(path, args) start(path, args) end |