Class: Front::CLI::VagrantWorker
- Inherits:
-
Object
- Object
- Front::CLI::VagrantWorker
- Defined in:
- lib/front/cli/vagrant.rb
Class Method Summary collapse
Class Method Details
.perform(task) ⇒ Object
102 103 104 105 106 107 108 109 110 |
# File 'lib/front/cli/vagrant.rb', line 102 def self.perform(task) cmd = task.cmd = task. [:out] = task.log_file [:err] = task.log_file pid = Kernel.spawn(cmd, ) Process.wait pid end |