fastlane/lib/fastlane/actions/appium.rb in fastlane-2.75.1 vs fastlane/lib/fastlane/actions/appium.rb in fastlane-2.76.0.beta.20180110010004
- old
+ new
@@ -35,12 +35,10 @@
Actions.sh("kill #{appium_pid}") if appium_pid
end
def self.invoke_appium_server(params)
appium = detect_appium(params)
- fork do
- Process.exec("#{appium} -a #{params[:host]} -p #{params[:port]}")
- end
+ Process.spawn("#{appium} -a #{params[:host]} -p #{params[:port]}")
end
def self.detect_appium(params)
appium_path = params[:appium_path] || `which appium`.to_s.strip