<div dir="ltr">&amp; just backgrounds a job. If you close the terminal, you lose job control.<div>If you use tmux, you can close the terminal, but leave the session running, and reattach to the session later. </div><div><br></div><div>It is well work looking into.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Oct 24, 2015 at 1:29 AM, Kieren Diment <span dir="ltr">&lt;<a href="mailto:diment@gmail.com" target="_blank">diment@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Tmux is the poor man&#39;s deployment pathway ;).  I use it to keep long running jobs going between logins a lot too, as well as for having an editor in the right place from where I last left off.  All round a primo useful tool.  Also handy for persistent IRC connections etc.<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Oct 24, 2015 at 3:24 PM, Andrew <span dir="ltr">&lt;<a href="mailto:catalystgroup@unitedgames.co.uk" target="_blank">catalystgroup@unitedgames.co.uk</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>





<div bgcolor="#ffffff">
<div><font size="2">A further search online,</font></div>
<div><font size="2">throws up that screen and tmux can be useful if the app you 
want to run in the background needs input now and again.</font></div>
<div><font size="2"></font> </div>
<blockquote style="PADDING-RIGHT:0px;PADDING-LEFT:5px;MARGIN-LEFT:5px;BORDER-LEFT:#000000 2px solid;MARGIN-RIGHT:0px"><span>
  <div style="FONT:10pt arial">----- Original Message ----- </div>
  <div style="BACKGROUND:#e4e4e4;FONT:10pt arial"><b>From:</b> 
  <a title="catalystgroup@unitedgames.co.uk" href="mailto:catalystgroup@unitedgames.co.uk" target="_blank">Andrew</a> </div>
  <div style="FONT:10pt arial"><b>To:</b> <a title="catalyst@lists.scsys.co.uk" href="mailto:catalyst@lists.scsys.co.uk" target="_blank">The elegant MVC web framework</a> 
  </div>
  </span><div><div><div style="FONT:10pt arial"><b>Sent:</b> Saturday, October 24, 2015 5:06 
  AM</div>
  <div style="FONT:10pt arial"><b>Subject:</b> Re: [Catalyst] Keep Plack -r 
  working when commandline closed...?</div>
  <div><br></div>
  <div><font size="2"></font> </div>
  <div><font size="2">Why is it better to use these over using an 
  &quot;&amp;&quot;....?</font></div>
  <div><font size="2"></font> </div>
  <div><font size="2">Or are you simply recommending them generally, due to their 
  usefulness all round?</font></div>
  <div><font size="2"></font> </div>
  <div><font size="2">Yours,</font></div>
  <div><font size="2">Andrew.</font></div>
  <div><font size="2"></font> </div>
  <blockquote style="PADDING-RIGHT:0px;PADDING-LEFT:5px;MARGIN-LEFT:5px;BORDER-LEFT:#000000 2px solid;MARGIN-RIGHT:0px">
    <div style="FONT:10pt arial">----- Original Message ----- </div>
    <div style="BACKGROUND:#e4e4e4;FONT:10pt arial"><b>From:</b> 
    <a title="diment@gmail.com" href="mailto:diment@gmail.com" target="_blank">Kieren Diment</a> 
    </div>
    <div style="FONT:10pt arial"><b>To:</b> <a title="catalyst@lists.scsys.co.uk" href="mailto:catalyst@lists.scsys.co.uk" target="_blank">The elegant MVC web framework</a> 
    </div>
    <div style="FONT:10pt arial"><b>Sent:</b> Friday, October 23, 2015 10:48 
    PM</div>
    <div style="FONT:10pt arial"><b>Subject:</b> Re: [Catalyst] Keep Plack -r 
    working when commandline closed...?</div>
    <div><font size="2"></font><font size="2"></font><br></div>
    <div dir="ltr">Tmux is generally newer and easier to use than screen, highly 
    recommended.<br></div>
    <div class="gmail_extra"><font size="2"></font><font size="2"></font><font size="2"></font><br>
    <div class="gmail_quote">On Sat, Oct 24, 2015 at 7:41 AM, Len Jaffe <span dir="ltr">&lt;<a href="mailto:lenjaffe@jaffesystems.com" target="_blank">lenjaffe@jaffesystems.com</a>&gt;</span> 
    wrote:<br>
    <blockquote class="gmail_quote" style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:#ccc 1px solid">
      <div dir="ltr">I&#39;d still consider using screen or tmux...</div>
      <div class="gmail_extra">
      <div>
      <div><font size="2"></font><font size="2"></font><font size="2"></font><font size="2"></font><br>
      <div class="gmail_quote">On Fri, Oct 23, 2015 at 1:48 PM, Andrew <span dir="ltr">&lt;<a href="mailto:catalystgroup@unitedgames.co.uk" target="_blank">catalystgroup@unitedgames.co.uk</a>&gt;</span> 
      wrote:<br>
      <blockquote class="gmail_quote" style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:#ccc 1px solid">Turns 
        out it&#39;s super easy to run it in the background, =).<br><br>You just add 
        &quot;&amp;&quot; 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: &quot;Trevor Leffler&quot; &lt;<a href="mailto:tleffler@uw.edu" target="_blank">tleffler@uw.edu</a>&gt;<br>To: &quot;The 
        elegant MVC web framework&quot; &lt;<a href="mailto:catalyst@lists.scsys.co.uk" target="_blank">catalyst@lists.scsys.co.uk</a>&gt;<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>&gt;<br>&gt; I&#39;ve ended up using Plackup to start the catalyst 
        app&#39;s psgi script (still<br>&gt; via fast cgi),<br>&gt; and I&#39;m using -r 
        to indicate it should watch for changes, and reload the<br>&gt; server 
        when changes are detected.<br>&gt;<br>&gt; It does this fine, as long as 
        my commandline terminal is still open.<br>&gt; The moment I close it, 
        the server continues to run, yet any watching for<br>&gt; changes, 
        killing, and restarting no longer happens (as far as I can 
        tell).<br>&gt;<br>&gt; Is there any way to get Plack&#39;s scripts that 
        watch and reload (i.e.<br>&gt; Restarter.pm, etc), to continue to run 
        after I close OSX&#39;s terminal window<br>/<br>&gt; end the SSH 
        session?<br>&gt;<br>&gt;<br>&gt; Many thanks for any insights 
        offered,<br>&gt;<br>&gt; Yours,<br>&gt; Andrew.<br>&gt;<br>&gt;<br>&gt; 
        _______________________________________________<br>&gt; List: <a href="mailto:Catalyst@lists.scsys.co.uk" target="_blank">Catalyst@lists.scsys.co.uk</a><br>&gt; 
        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>&gt; 
        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>&gt; 
        Dev site: <a href="http://dev.catalyst.perl.org/" rel="noreferrer" target="_blank">http://dev.catalyst.perl.org/</a><br>&gt;<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><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><a href="tel:614-404-4214" value="+16144044214" target="_blank">614-404-4214</a>    <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" 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></blockquote></div><br></div>
    <p>
    </p><hr>

    <p></p>_______________________________________________<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" 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/" target="_blank">http://www.mail-archive.com/catalyst@lists.scsys.co.uk/</a><br>Dev 
    site: <a href="http://dev.catalyst.perl.org/" target="_blank">http://dev.catalyst.perl.org/</a><br><p></p></blockquote>
  <p>
  </p><hr>

  <p></p>_______________________________________________<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" 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/" target="_blank">http://www.mail-archive.com/catalyst@lists.scsys.co.uk/</a><br>Dev site: 
  <a href="http://dev.catalyst.perl.org/" target="_blank">http://dev.catalyst.perl.org/</a><br><p></p></div></div></blockquote></div>
<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></blockquote></div><br></div>
</div></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><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><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>
</div>