<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 11.00.9600.18057">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2 face=Arial>When I connect to Linux servers using SSH and run
the programs using </FONT></DIV>
<DIV><FONT size=2 face=Arial>perl program.pl > something.log 2>&1
&</FONT></DIV>
<DIV><FONT size=2 face=Arial>then I can use the command exit to close the SSH
console but the program continues to run.</FONT></DIV>
<DIV><FONT size=2 face=Arial>I remember that in past I needed to use nohup, but
in last years I didn't need it anymore.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Is the SSH connection a special case but it doesn't
work when using a real bash console directly?</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV>--Octavian<BR></DIV>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; PADDING-RIGHT: 0px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=lenjaffe@jaffesystems.com href="mailto:lenjaffe@jaffesystems.com">Len
Jaffe</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=kieren@diment.org
href="mailto:kieren@diment.org">kieren@diment.org</A> ; <A
title=catalyst@lists.scsys.co.uk href="mailto:catalyst@lists.scsys.co.uk">The
elegant MVC web framework</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, October 26, 2015 5:13
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Catalyst] Keep Plack -r
working when commandline closed...?</DIV>
<DIV><FONT size=2 face=Arial></FONT><BR></DIV>
<DIV dir=ltr>& 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><<A href="mailto:diment@gmail.com"
target=_blank>diment@gmail.com</A>></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>Tmux is the poor man'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><<A href="mailto:catalystgroup@unitedgames.co.uk"
target=_blank>catalystgroup@unitedgames.co.uk</A>></SPAN> wrote:<BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><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-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; PADDING-RIGHT: 0px; 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
"&"....?</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-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; PADDING-RIGHT: 0px; 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><<A href="mailto:lenjaffe@jaffesystems.com"
target=_blank>lenjaffe@jaffesystems.com</A>></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'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><<A href="mailto:catalystgroup@unitedgames.co.uk"
target=_blank>catalystgroup@unitedgames.co.uk</A>></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'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><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" target=_blank
value="+16144044214">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>
<P>
<HR>
<P></P>_______________________________________________<BR>List:
Catalyst@lists.scsys.co.uk<BR>Listinfo:
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst<BR>Searchable
archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/<BR>Dev site:
http://dev.catalyst.perl.org/<BR></BLOCKQUOTE></BODY></HTML>