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