On Wed, 3 May 2006, Zac Slade wrote:
On Wednesday 03 May 2006 16:04, Jorge Almeida wrote:
But I won't be able to use svc to interact with the child. That's why I
feel I must reformulate the whole setup.
If you need deeper interaction with a child process then you might need to
look outside the realm of shell. I'd suggest looking at perl. Not that you
can't accomplish what you are looking for with bash scripting, but you may be
better served by using a more full featured programming language than shell
offers.
Perhaps. I know more of Perl than of Bash, but a shell script is the
usual way to run a process supervised by daemontools. The problem with
backgrounding the child is that it may die for some reason and supervise
won't be able to ressurrect it.
I'll take a look at CPAN...
Thanks.
--
Jorge Almeida
--
[email protected] mailing list