Welcome Guest, Not a member yet? Register   Sign In
Run external program in background
#5

[eluser]eroy4u[/eluser]
[quote author="TheFuzzy0ne" date="1209594896"]For Winblows-based systems, I believe appending /B to the end of the command should do it. Please bear in mind that in both cases (using & or /B), you're code won't be portable.

What do you mean by "new thread"? PHP works on a single thread. Are you looking for a way to keep the PHP thread open, but disconnect the script from the browser, so the PHP script keeps running and can do stuff when the process finishes, but the user doesn't end up having to stay on the same constantly loading page for 30 minutes?[/quote]
Yes it is what i mean. Is it possible?


Messages In This Thread
Run external program in background - by El Forum - 04-30-2008, 09:55 AM
Run external program in background - by El Forum - 04-30-2008, 10:05 AM
Run external program in background - by El Forum - 04-30-2008, 10:55 AM
Run external program in background - by El Forum - 04-30-2008, 11:34 AM
Run external program in background - by El Forum - 04-30-2008, 12:25 PM
Run external program in background - by El Forum - 04-30-2008, 12:47 PM
Run external program in background - by El Forum - 04-30-2008, 12:49 PM
Run external program in background - by El Forum - 04-30-2008, 12:57 PM
Run external program in background - by El Forum - 04-30-2008, 01:10 PM
Run external program in background - by El Forum - 04-30-2008, 01:16 PM
Run external program in background - by El Forum - 04-30-2008, 01:32 PM
Run external program in background - by El Forum - 04-30-2008, 04:17 PM
Run external program in background - by El Forum - 05-01-2008, 02:54 AM
Run external program in background - by El Forum - 05-01-2008, 05:36 AM



Theme © iAndrew 2016 - Forum software by © MyBB