Home/Support/Support Forum/How to stop a python script from another newly started script
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

How to stop a python script from another newly started script

0 votes
asked Jul 29, 2013 in Python by teksupkbh New to the Community (0 points)
retagged Oct 28, 2014 by teksupkbh

Please log in or register to answer this question.

1 Answer

0 votes
This may be possible depending on what kind of digi product you are running:

X2, X4, X8, CC3G - Realistically, it's not possible to do this. Theoretically it's possible to use digicli to call the 'kill' command. You might be able to guess the number of the python app

X2e - you should be able to call the 'ps' command to determine the process number of the script. Then call the 'kill' command to terminate it.
answered Jul 31, 2013 by kjensen8 Veteran of the Digi Community (653 points)
...