Starting program in background...

sietze freebsd at sietze.com
Tue Aug 10 09:35:53 PDT 2004


 > 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?




More information about the freebsd-newbies mailing list