| Class | Origami::Action::WindowsApplication |
| In: |
sources/parser/actions.rb
|
| Parent: | Dictionary |
Creates a new Windows application definition.
| app: | Path to the executable. |
| params: | Parameters to pass on the command-line. |
| dir: | Starting directory. |
# File sources/parser/actions.rb, line 124
124: def initialize(app = "", params = "", dir = "", indirect = false)
125:
126: hash = { :F => app }
127:
128: if not params.empty?
129: hash[:P] = params
130: end
131:
132: if not dir.empty?
133: hash[:D] = dir
134: end
135:
136: super(hash, indirect)
137:
138: end