Class: CARPS::Setup::Process

Inherits:
Interface show all
Defined in:
lib/carps/wizard/steps.rb

Overview

Configure processing

Instance Method Summary collapse

Methods included from ControlInterface

#quit

Methods inherited from Interface

#run

Constructor Details

#initializeProcess

Returns a new instance of Process.



377
378
379
380
381
382
383
384
385
# File 'lib/carps/wizard/steps.rb', line 377

def initialize
   super
   add_raw_command :terminal, "Specify a command used to launch interactive CARPS sub-programs, typically in another window.\n\tIE., a command which would run a program in a new X-windows terminal editor, or Screen session.\n\tUse %cmd in place of the sub-program to be executed\n\tExamples:\n\t\turxvt -e %cmd", "TERMINAL"
   add_command :port, "Specify a TCP port which will be used for local inter-process communication.\n\tDefault: 51000", "PORT"
   add_command :wait, "The user states when the process is complete.\n\tUse this if you use screen, or if your terminal emulator forks into the background, as gnome-terminal does.\n\tDefault: no", "yes/no"
   @confirm = false
   @port = 51000
   @term = "%cmd"
end

Instance Method Details

#descriptionObject



387
388
389
# File 'lib/carps/wizard/steps.rb', line 387

def description
"Choose a shell for launching sub-processes, and setup inter-process communication."
end