如何通过命令行停止appium服务器? [英] how to stop appium server through command line?
本文介绍了如何通过命令行停止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
或
- 运行
ps -A | grep appium
- 记下进程ID
- 运行
kill [process ID]
- Run
ps -A | grep appium
- Note the process ID
- 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屋!
查看全文