Skip to content

Instantly share code, notes, and snippets.

@bbchriscesar
Created September 22, 2022 16:52
Show Gist options
  • Save bbchriscesar/3c9d933bd7c285cd940639cc31344183 to your computer and use it in GitHub Desktop.
Save bbchriscesar/3c9d933bd7c285cd940639cc31344183 to your computer and use it in GitHub Desktop.
import os
from time import sleep
# os.system("start /B start cmd.exe @cmd /k appium")
os.system("start /B start cmd.exe @cmd /k appium -a 127.0.0.1 -p 4728")
sleep(8)
os.system("taskkill /F /IM node.exe")
os.system("taskkill /F /IM cmd.exe")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment