Class: Guard::Spork::SporkWindowsInstance
Instance Attribute Summary
#env, #options, #pid, #port, #process, #type
Class Method Summary
collapse
Instance Method Summary
collapse
#alive?, #initialize, #start, #to_s
Class Method Details
.spork_pids ⇒ Object
19
20
21
|
# File 'lib/guard/spork/spork_windows_instance.rb', line 19
def self.spork_pids
spork_processes.map { |process| process[:pid] }
end
|
Instance Method Details
#command ⇒ Object
7
8
9
|
# File 'lib/guard/spork/spork_windows_instance.rb', line 7
def command
["cmd", "/C"] + super
end
|
#running? ⇒ Boolean
15
16
17
|
# File 'lib/guard/spork/spork_windows_instance.rb', line 15
def running?
super && drb_ready?
end
|
#stop ⇒ Object
11
12
13
|
# File 'lib/guard/spork/spork_windows_instance.rb', line 11
def stop
kill_all_spork_processes
end
|