command line question

joe at actionline.com joe at actionline.com
Tue Jan 29 15:21:53 MST 2013


Thanks James and Hans, but 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?

-----------
> Put an '&' at the end to run the command in the background,
> then you can close the terminal.
>
> gwenview filename.jpg 2>/dev/null &
>
> This will also work for within a script if you want the script
> to move on directly after launching gwenview.






More information about the PLUG-discuss mailing list