How to get portinstall to 'shut up' so I can run it in background

P Bielecki pawciobiel at gmail.com
Wed Nov 28 02:12:33 PST 2007


On Nov 28, 2007 1:36 AM, Clint Olsen <clint.olsen at gmail.com> wrote:
> I've tried redirecting standard output/error, both /bin/sh and /bin/csh,
> and I can't run this in batch.  I'm trying to build gnome which takes
> hours, and I want it backgrounded so that if this SSH shell disconnects it
> doesn't crater the build.  You would think that --batch would make this
> happen, but no go.
>
> Thanks,
>
> -Clint

Hi  Clint,
Hope this help
portinstall --batch pkgname >/dev/null 2>&1 &

but I would recommend using screen.

regards
Paul B


More information about the freebsd-ports mailing list