Re: gnotes+ editor strangeness



On Fri, Mar 19, 1999 at 08:30:48AM -0800, Fox, Kevin M wrote:
> The tradition where:
> 
> "program" runs the program foreground and 
> "program &" forks the program

both commands fork.


> "&" is used for daemonizing

no.  it's for running a process in the background.  some programs
don't need to do this because they do it automatically.  i think you
are confused as to what fork() and the shell character '&' produces.


> the way gnp is setup, "&" is worthless, and you have to remember a special
> switch to not fork it...

using a '&' will just cause control to return to your shell
immediately.  use the "--nofork" option to prevent gnp from
automatically forking itself and running in the background.

regards,
--andy



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]