Date: Fri, 9 Apr 2010 18:36:17 +0400 From: Alexander Churanov <alexanderchuranov@gmail.com> To: Leinier Cruz Salfran <salfrancl.listas@gmail.com> Cc: freebsd-hackers <freebsd-hackers@freebsd.org> Subject: Re: make pkg_install suite reusable, please Message-ID: <q2x3cb459ed1004090736t5a67f315geca1c199a5061e7d@mail.gmail.com> In-Reply-To: <x2ta2585ef1004090716vf74893dfo9d5412455294c64d@mail.gmail.com> References: <x2ta2585ef1004090716vf74893dfo9d5412455294c64d@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
2010/4/9 Leinier Cruz Salfran <salfrancl.listas@gmail.com> > i want to ask you one thing: can you make the 'pkg_install' suite > reusable .. means install 'libinstall.a' as a shared object in order > to make it reusable by others devs > Hi Leinier, I'd like to add my 50 cents. From my point of view, the true UNIX way is re-using whole programs. This provides unbelievable isolation and correctness. If you don't want to fork myriads of processes each second, then, it's, probably, better to ask for pipe mode of pkg_* tools. For example, aspell works that way. You start a process, write commands and queries and read results. Alexander Churanov
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?q2x3cb459ed1004090736t5a67f315geca1c199a5061e7d>