0

there is a python script

StartDeploy.py

and i want to run this file from PHP without waiting for it's completion.

what can i do?

1

1 Answer 1

1

You can try:

exec('python StartDeploy.py > /dev/null &');

It's for Linux.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.