Date: Tue, 10 Aug 2004 20:35:28 +0200 From: Olivier Gautherot <ogautherot@freesurf.fr> To: sietze <freebsd@sietze.com> Cc: freebsd-newbies@freebsd.org Subject: Re: Starting program in background... Message-ID: <41191570.1010104@freesurf.fr> In-Reply-To: <NEBBILKEIDPMALPEDJHOIEEBMLAA.freebsd@sietze.com> References: <NEBBILKEIDPMALPEDJHOIEEBMLAA.freebsd@sietze.com>
next in thread | previous in thread | raw e-mail | index | archive | help
sietze wrote:
> > How can i run program in background? It cannot be run as a deamon. I
> > read in manual, that i should use "screen" command. But this prog is
> > port from linux, and it seems, there's no screen command under
> > FreeBSD. Starting with "&" parametr have no effect... It's giving me
> > pid, but program continues output to console...
>
>Correct me if I am wrong, but adding "&" to a command only means that the
>shell does not wait for the command to finish before returning you to the
>prompt.
>
>If the command produces any output it will go to the standard output stream,
>usually the screen.
>Piping the output into an alternative output stream, using ">" is not a
>solution?
>
>
From a general point of view, there are cases where you want to
detach your process from a terminal. That's where the at command
can help. Otherwise, pipes and redirections can often do miracles :-)
Cheers
Olivier
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41191570.1010104>
