Jump to content

Right way to wake up python scripts for FTrack?


Alberto GZ

Recommended Posts

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...