<div dir="ltr">Tmux is generally newer and easier to use than screen, highly recommended.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Oct 24, 2015 at 7:41 AM, Len Jaffe <span dir="ltr"><<a href="mailto:lenjaffe@jaffesystems.com" target="_blank">lenjaffe@jaffesystems.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I'd still consider using screen or tmux...</div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Fri, Oct 23, 2015 at 1:48 PM, Andrew <span dir="ltr"><<a href="mailto:catalystgroup@unitedgames.co.uk" target="_blank">catalystgroup@unitedgames.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Turns out it's super easy to run it in the background, =).<br>
<br>
You just add "&" to the end of the commandline, =D.<br>
<br>
^_^ Am learning these little server tricks, ;-).<br>
<br>
[Tweeted Tatsuhiko Miyagawa of Plack fame, who was kind enough to promptly<br>
respond, with this little gem, =D. Yay!]<br>
<br>
Yours,<br>
Andrew.<br>
<span><br>
<br>
----- Original Message -----<br>
From: "Trevor Leffler" <<a href="mailto:tleffler@uw.edu" target="_blank">tleffler@uw.edu</a>><br>
To: "The elegant MVC web framework" <<a href="mailto:catalyst@lists.scsys.co.uk" target="_blank">catalyst@lists.scsys.co.uk</a>><br>
Sent: Friday, October 23, 2015 4:28 PM<br>
Subject: Re: [Catalyst] Keep Plack -r working when commandline closed...?<br>
<br>
<br>
</span><div><div>What about wrapping your shell session with screen?<br>
<br>
$ man screen<br>
<br>
--Trevor<br>
<br>
On 10/23/2015 08:21 AM, Andrew wrote:<br>
><br>
> I've ended up using Plackup to start the catalyst app's psgi script (still<br>
> via fast cgi),<br>
> and I'm using -r to indicate it should watch for changes, and reload the<br>
> server when changes are detected.<br>
><br>
> It does this fine, as long as my commandline terminal is still open.<br>
> The moment I close it, the server continues to run, yet any watching for<br>
> changes, killing, and restarting no longer happens (as far as I can tell).<br>
><br>
> Is there any way to get Plack's scripts that watch and reload (i.e.<br>
> Restarter.pm, etc), to continue to run after I close OSX's terminal window<br>
/<br>
> end the SSH session?<br>
><br>
><br>
> Many thanks for any insights offered,<br>
><br>
> Yours,<br>
> Andrew.<br>
><br>
><br>
> _______________________________________________<br>
> List: <a href="mailto:Catalyst@lists.scsys.co.uk" target="_blank">Catalyst@lists.scsys.co.uk</a><br>
> Listinfo: <a href="http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst" rel="noreferrer" target="_blank">http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst</a><br>
> Searchable archive:<br>
<a href="http://www.mail-archive.com/catalyst@lists.scsys.co.uk/" rel="noreferrer" target="_blank">http://www.mail-archive.com/catalyst@lists.scsys.co.uk/</a><br>
> Dev site: <a href="http://dev.catalyst.perl.org/" rel="noreferrer" target="_blank">http://dev.catalyst.perl.org/</a><br>
><br>
<br>
_______________________________________________<br>
List: <a href="mailto:Catalyst@lists.scsys.co.uk" target="_blank">Catalyst@lists.scsys.co.uk</a><br>
Listinfo: <a href="http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst" rel="noreferrer" target="_blank">http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst</a><br>
Searchable archive: <a href="http://www.mail-archive.com/catalyst@lists.scsys.co.uk/" rel="noreferrer" target="_blank">http://www.mail-archive.com/catalyst@lists.scsys.co.uk/</a><br>
Dev site: <a href="http://dev.catalyst.perl.org/" rel="noreferrer" target="_blank">http://dev.catalyst.perl.org/</a><br>
<br>
<br>
_______________________________________________<br>
List: <a href="mailto:Catalyst@lists.scsys.co.uk" target="_blank">Catalyst@lists.scsys.co.uk</a><br>
Listinfo: <a href="http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst" rel="noreferrer" target="_blank">http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst</a><br>
Searchable archive: <a href="http://www.mail-archive.com/catalyst@lists.scsys.co.uk/" rel="noreferrer" target="_blank">http://www.mail-archive.com/catalyst@lists.scsys.co.uk/</a><br>
Dev site: <a href="http://dev.catalyst.perl.org/" rel="noreferrer" target="_blank">http://dev.catalyst.perl.org/</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Len Jaffe - Information Technology Smoke Jumper - <a href="mailto:lenjaffe@jaffesystems.com" target="_blank">lenjaffe@jaffesystems.com</a> </div><div>614-404-4214 <a href="https://www.twitter.com/lenJaffe" target="_blank">@LenJaffe</a> <a href="http://www.lenjaffe.com/" target="_blank">www.lenjaffe.com</a><br></div><div>Host of <a href="http://www.meetup.com/techlifecolumbus/" target="_blank">Code Jam Columbus</a> - <a href="https://www.twitter.com/CodeJamCMH" target="_blank">@CodeJamCMH</a></div><div><div>Curator of <a href="http://www.lenjaffe.com/AdventPlanet/" target="_blank">Advent Planet</a> - An Aggregation of Online Advent Calendars.<div><br></div></div></div></div></div></div></div></div></div>
</font></span></div>
<br>_______________________________________________<br>
List: <a href="mailto:Catalyst@lists.scsys.co.uk">Catalyst@lists.scsys.co.uk</a><br>
Listinfo: <a href="http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst" rel="noreferrer" target="_blank">http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst</a><br>
Searchable archive: <a href="http://www.mail-archive.com/catalyst@lists.scsys.co.uk/" rel="noreferrer" target="_blank">http://www.mail-archive.com/catalyst@lists.scsys.co.uk/</a><br>
Dev site: <a href="http://dev.catalyst.perl.org/" rel="noreferrer" target="_blank">http://dev.catalyst.perl.org/</a><br>
<br></blockquote></div><br></div>