Re: [PHP] shell_exec - asynchronous would be cool!

2009-02-18 Thread Ashley Sheridan
On Thu, 2009-02-19 at 11:15 +1300, German Geek wrote: > Yes, believe it or not, when i was writing this, i thought about a db soln > as well. Just hadnt done it that way back then. > > I guess with Linux one could do something like: > > shell_exec('{longexecutingprogram -with -params; mysql -uuse

Re: [PHP] shell_exec - asynchronous would be cool!

2009-02-18 Thread German Geek
Yes, believe it or not, when i was writing this, i thought about a db soln as well. Just hadnt done it that way back then. I guess with Linux one could do something like: shell_exec('{longexecutingprogram -with -params; mysql -uuser -ppass database query; } &'); Surely it should be possible in w

Re: [PHP] shell_exec - asynchronous would be cool!

2009-02-18 Thread Ashley Sheridan
On Thu, 2009-02-19 at 10:30 +1300, German Geek wrote: > Hi all, > > A while ago, i had a problem with shell_exec: > > I was writing some code to execute imagemagick to convert a bunch of images. > This could take ages to execute and the page therefore ages to load. The > solution was to get a lin