Re: command line question

Página superior
Adjuntos:
Obtener este mensaje como un correo
+ (text/plain)
Eliminar este mensaje
Responder a este mensaje
Autor: Matt Graham
Fecha:  
A: Main PLUG discussion list
Asunto: Re: command line question
From:
> 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 -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss