On Saturday 19 September 2009 01:11:15 Taras Mankovski wrote:
> Hey Guys,
> I'm trying to start google app engine's dev_runserver as a daemon.
>
> So I'm trying to do
> pid = local('./bin/dev_appserver --port=%s beecoop.com & '%(env.port))
I recommend you to use 'supervisord' (http://supervisord.o
Hey Jeff,
nohup is exactly what I was looking for.
I used it before, but I couldn't remember the name of the function.
Thank you for taking the time to clarify how local and & works i really
appreciate it.
Taras
On Fri, Sep 18, 2009 at 9:17 PM, Jeff Forcier wrote:
> Hi Taras,
>
> Using '&' isn
Hi Taras,
Using '&' isn't really daemonizing -- it's simply putting the process
into the background of the invoking shell session. This is why local()
never returns: because the shell it creates is still waiting for the
process to finish.
Instead, you may want to try using 'nohup' or 'screen', wh
On Sat, Sep 19, 2009 at 1:11 AM, Taras Mankovski wrote:
> Hey Guys,
> I'm trying to start google app engine's dev_runserver as a daemon.
> So I'm trying to do
> pid = local('./bin/dev_appserver --port=%s beecoop.com & '%(env.port))
> But when it gets to this line, it just sits there and waits.
> I
Hey Guys,
I'm trying to start google app engine's dev_runserver as a daemon.
So I'm trying to do
pid = local('./bin/dev_appserver --port=%s beecoop.com & '%(env.port))
But when it gets to this line, it just sits there and waits.
If I run this command in bash I get
./bin/dev_appserver --port=1050