Andrei Popescu wrote:
> Bob Proulx wrote:
> > Better to do it elsewhere rather than from your ~/.bashrc file.
> >
> > > while "1" do
> > > if (inotifywait -e modify ~/control.sh) = 0
> > >then { chmod u+x ~/control.sh; ~/control.sh; } > ~/controlresult
> > > fi
> > > done &
>
> # apt-get
On Lu, 19 dec 11, 15:24:19, Bob Proulx wrote:
>
> Better to do it elsewhere rather than from your ~/.bashrc file.
>
> > while "1" do
> > if (inotifywait -e modify ~/control.sh) = 0
> >then { chmod u+x ~/control.sh; ~/control.sh; } > ~/controlresult
> > fi
> > done &
# apt-get install inc
peasth...@shaw.ca wrote:
> What if the loop is backrgounded?
That would still launch one every time you log in. You could
potentially have many of them running. You would need to semaphore it
so that only one incoming server runs at a time.
Better to do it elsewhere rather than from your ~/.bas
* From: Bob Proulx
* Date: Mon, 19 Dec 2011 11:47:39 -0700
You have that in a loop forever, right?
Yes. The objective is a J interpreter server.
> How will you log in?
Oops. That's what I meant about shooting my foot.
What if the loop is backrgounded?
while "1" do
if (inotif
4 matches
Mail list logo