Re: [Catalyst] Killing the standalone perl server programatically

2009-06-15 Thread Ton Voon
On 12 Jun 2009, at 15:31, Stefan Washietl wrote: Kieren Diment wrote: > sub quit : Local { > exit 1; > } > This is exactly what I tried and would be the prefered solution. Sorry if I only implicitely mentioned that I use the -fork option. In that case it does not work, or more specif

Re: [Catalyst] Killing the standalone perl server programatically

2009-06-12 Thread Stefan Washietl
Kieren Diment wrote: > sub quit : Local { > exit 1; > } > This is exactly what I tried and would be the prefered solution. Sorry if I only implicitely mentioned that I use the -fork option. In that case it does not work, or more specifically, does not shut down the server as I had expec

Re: [Catalyst] Killing the standalone perl server programatically

2009-06-12 Thread Stefan Washietl
> On Fri, Jun 12, 2009 at 6:50 AM, J. Shirley > wrote: ou'll have to grab Catalyst::Engine::HTTP::Prefork out of svn, or prod andyg enough so he releases (HEY ANDY!) http://dev.catalystframework.org/repos/Catalyst/trunk/Catalyst-Engine-HTTP-Prefork/ Thank you. I'll h

Re: [Catalyst] Killing the standalone perl server programatically

2009-06-12 Thread J. Shirley
On Fri, Jun 12, 2009 at 6:50 AM, J. Shirley wrote: > On Fri, Jun 12, 2009 at 6:19 AM, Stefan Washietl wrote: > >> I'm developing a desktop application using Catalyst and the brand new >> Titanium framework (http://www.appcelerator.com/). >> >> I need to start/stop the standalone server programati

Re: [Catalyst] Killing the standalone perl server programatically

2009-06-12 Thread J. Shirley
On Fri, Jun 12, 2009 at 6:19 AM, Stefan Washietl wrote: > I'm developing a desktop application using Catalyst and the brand new > Titanium framework (http://www.appcelerator.com/). > > I need to start/stop the standalone server programatically. Starting is > easy, but stopping the server (and its

Re: [Catalyst] Killing the standalone perl server programatically

2009-06-12 Thread Hans Dieter Pearcey
On Fri, Jun 12, 2009 at 02:19:19PM +0100, Stefan Washietl wrote: > The obvious thing > > exit(0); > > does not work. Any ideas how to do this? Look buddy, doesn't work is a strong statement. Does it sit on the couch all day? Is it making faces at you? Does it want more money? Is

Re: [Catalyst] Killing the standalone perl server programatically

2009-06-12 Thread Kieren Diment
sub quit : Local { exit 1; } and Quit both worked fine for me when I did this the other day. But that was using a desktop OS (Windows and OS X fwiw), not a mobile platform. On 12/06/2009, at 11:19 PM, Stefan Washietl wrote: I'm developing a desktop application using Catalyst and

[Catalyst] Killing the standalone perl server programatically

2009-06-12 Thread Stefan Washietl
I'm developing a desktop application using Catalyst and the brand new Titanium framework (http://www.appcelerator.com/). I need to start/stop the standalone server programatically. Starting is easy, but stopping the server (and its forks) again is tricky. I'd like a solution without keeping tr