I am surprised nobody gave this answer, at least as far as I saw: $ /path/to/command &> /dev/null Kevin On Jan 29, 2013 3:27 PM, "Matt Graham" wrote: > From: joe@actionline.com > > I still can't get either to work. > > James: gwenview filename.jpg > /dev/null 2>&1 & > > Hans: gwenview filename.jpg 2>/dev/null & > > > > Both examples work to cause gwenview to open filename.jpg without > > any error messages. However, when I close the terminal window, > > gwenview also closes. What am I doing wrong? > > To stop a process from dying when its parent tty dies, you probably want > nohup. "nohup gwenview filename.jpg > /dev/null 2>&1 &" . The > xterm/konsole > will still be there, though you can then manually close it. > > If this approach *did* automagically close the xterm, it'd be functionally > equivalent to just starting gwenview from the mini-commandline.... > > -- > Matt G / Dances With Crows > The Crow202 Blog: http://crow202.org/wordpress/ > There is no Darkness in Eternity/But only Light too dim for us to see > > --------------------------------------------------- > PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org > To subscribe, unsubscribe, or to change your mail settings: > http://lists.phxlinux.org/mailman/listinfo/plug-discuss >