Alberto GZ Posted October 27, 2017 Report Share Posted October 27, 2017 I have some scripts with events, and I felt some differences due to starting mode these scripts. For example, when I run from terminal with python 'samplescript.py' script is running with a terminal window opened then after any time, script left run correctly. However, if I launch script from a .php with exec("python samplescript.py"); python process is running, and script seems runs right forever. What would be the right way to wake a up a python script? Link to comment Share on other sites More sharing options...
Mattias Lagergren Posted October 31, 2017 Report Share Posted October 31, 2017 It depends on the purpose of the python script that you are running, but the most basic example would be "python samplescript.py" Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.