Afficher un message
Vieux 24/08/2006, 15h11   #1
Dave Farrance
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Redirect output to x-window in linux?

Is it possible for a bash script to test it it's not running in a
terminal and if that's the case, pop open an x-window of some sort (in
linux) and redirect the output of the remaining commands in that script
to the x-window?

The test is easy enough: [ "$TERM" == "dumb" ]

....but I can't figure out how to redirect the output of the remaining
script commands to an x-window.

--
Dave Farrance
  Réponse avec citation
 
Page generated in 0,05120 seconds with 9 queries