* jonnexen on Monday, November 22, 2010 at 09:24:22 +0100 > I'm gonna writing a bash install-script. There I want to make a > command that checks if screen us running. If it's running the script > should be going on. If not there should be an error. Any ideas?
In case you mean: is the script running from within screen? you can query the $STY environment variable, otherwise you probably need screen -ls. c -- theatre - books - texts - movies Black Trash Productions at home: http://www.blacktrash.org Black Trash Productions on Facebook: http://www.facebook.com/blacktrashproductions _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users