super tasty version fixes
[feisty_meow.git] / scripts / opensim / opensim_utils.sh
index 695c09cf6afddb7f25ad091ba9430b582f6d118f..f10d6b95ea3e21446d39f9371ff665935968f8e1 100644 (file)
@@ -36,9 +36,10 @@ function launch_screen()
   screen_name="$1"; shift
   app_name="$1"; shift
   echo "$(date_stringer ' '): starting $screen_name now..."
-  screen -L -S "$screen_name" -d -m nice -n $NICENESS_LEVEL mono "$app_name" 
-##why? --debug 
-#no, makes it ugly: -console=basic 
+#hmmm: version check for if we're using old screen?  this -L change was a mistake though for the screen project owners on ubuntu.
+local boguslog=$HOME/screen_junk_$(date_stringer).log
+#maybe they unbroke it in 17.10?
+  screen -L $boguslog -S "$screen_name" -d -m nice -n $NICENESS_LEVEL mono "$app_name" 
 
   echo "$(date_stringer ' '): $screen_name started."
   # only sleep if we are not at the last process that gets started.