Nevermind, I got it.

I just threw the output to /dev/null and added the & to run in background.
ie
exec('cake scriptname > /dev/null &');

But I'd still like to have a non-exec way to do this.

Gabriel Gilini

www.usosim.com.br
[EMAIL PROTECTED]
[EMAIL PROTECTED]


On Fri, Nov 21, 2008 at 6:06 PM, Gabriel Gilini <[EMAIL PROTECTED]>wrote:

>
> Hi list,
>
> I'm having a little trouble here trying to call a script from the
> controller, and keep it running in background while flush the output
> to the client.
>
> Dreamhost inhibits the use o flush() and alikes by turning mod_deflate
> on by default. I obviously don't want to turn gzipping off in my site,
> so I'm looking for a workaround.
>
> So, what I would like to know is if there's a Cake-way of calling a
> Shell script, and if not, whether there is a way to exec it and keep
> it running on the server-side when the client goes away from that
> page.
>
> Thanks in advance.
>
> Cheers
>
> --
> Gabriel Gilini
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to