Re: Starting program in background...
From: Olivier Gautherot (ogautherot_at_freesurf.fr)
Date: 08/10/04
- Previous message: Olivier Gautherot: "Re: Starting program in background..."
- In reply to: sietze: "RE: Starting program in background..."
- Next in thread: Olivier Gautherot: "Re: Starting program in background..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 10 Aug 2004 20:35:28 +0200 To: sietze <freebsd@sietze.com>
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
_______________________________________________
freebsd-newbies@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
To unsubscribe, send any mail to "freebsd-newbies-unsubscribe@freebsd.org"
- Previous message: Olivier Gautherot: "Re: Starting program in background..."
- In reply to: sietze: "RE: Starting program in background..."
- Next in thread: Olivier Gautherot: "Re: Starting program in background..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|