On 2014-06-02 15:29:40 +0300, Adrian Popa wrote:
> Aveți o recomandare de cum pot porni și ține în viață scriptul [...]

 subshells, nu știu însă dacă sintaxa e bashism (sic)

ex:
( ( while true; do $stuff ; sleep 1; done ) &>/tmp/logfile ) &

map:
    ( ) = subshell
    &   = background
    &>/dev/null = 2>&1 >/dev/null
    „help wait”

 În fine, dacă shellu e dușmănos, poți oricând scrie un mic wrapper în C care 
să se
daemonizeze.


--
perl -MLWP::Simple -e'print$_[rand(split(q.%%\n.,
get(q{http://cpan.org/misc/japh})))]'
_______________________________________________
RLUG mailing list
[email protected]
http://lists.lug.ro/mailman/listinfo/rlug

Raspunde prin e-mail lui