如何通过命令行停止appium服务器? [英] how to stop appium server through command line?

查看:755
本文介绍了如何通过命令行停止appium服务器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用来启动Appium服务器的命令:

The command I'm using to start the Appium server:

node appium --address 127.0.0.1 --port 4723 --session-override --no-reset --platform-name Android --platform-version 23 --automation-name Appium

我如何通过命令行停止服务器?

How would I stop the server through command line?

推荐答案

Ctrl + c

  1. 运行ps -A | grep appium
  2. 记下进程ID
  3. 运行kill [process ID]
  1. Run ps -A | grep appium
  2. Note the process ID
  3. Run kill [process ID]

如果您希望通过编程方式执行此操作,请参见 http://discuss.appium.io/t/launching-and-stopping-appium-server-programmtically/700 .

If you're looking to do this programmatically, see http://discuss.appium.io/t/launching-and-stopping-appium-server-programmtically/700.

这篇关于如何通过命令行停止appium服务器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆