0

I use exec to start a job on WINDOWS

exec("mycmd.exe $path /lang Eng /out $path /quit");

exist a way to just starting process without page hang up for waiting end? sometimes process take about 2 hours to end...

1
  • You should look into queues. Commented Jul 11, 2017 at 17:44

1 Answer 1

1

instead exec, use:

pclose(popen("start yourcommand.exe ... ...","r"));
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.