Class: KDE::Process

Inherits:
Object show all
Defined in:
lib/rui/toolkits/kde/kde.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.split_args(str) ⇒ Object



180
181
182
# File 'lib/rui/toolkits/kde/kde.rb', line 180

def self.split_args(str)
  KDE::Shell.split_args(str)
end

Instance Method Details

#output_channel_mode=(value) ⇒ Object



175
176
177
178
# File 'lib/rui/toolkits/kde/kde.rb', line 175

def output_channel_mode=(value)
  c = self.class.const_get("#{value.to_s.capitalize.camelize}Channel")
  setOutputChannelMode(c)
end

#run(path, args) ⇒ Object



184
185
186
187
# File 'lib/rui/toolkits/kde/kde.rb', line 184

def run(path, args)
  set_program(path, args)
  start
end