I launch below process with
& so as to keep it running in background after I close session :
pi@raspberrypi2 ~ $ ./spark-1.3.0-bin-hadoop2.4/bin/spark-class org.apache.spark.deploy.worker.Worker -m 700M spark://192.168.192.22:7077 &  3538 pi@raspberrypi2 ~ $ Spark assembly has been built with Hive, including Datanucleus jars on classpath Using Spark's default log4j profile: org/apache/spark/log4j-defaults.properties 15/04/04 19:35:47 INFO Worker: Registered signal handlers for [TERM, HUP, INT] 15/04/04 19:35:47 WARN Utils: Your hostname, raspberrypi2 resolves to a loopback address: 127.0.1.1; using 192.168.192.55 instead (on interface eth0) 15/04/04 19:35:47 WARN Utils: Set SPARK_LOCAL_IP if you need to bind to another address ^C pi@raspberrypi2 ~ $ 15/04/04 19:35:51 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
But as can see, the output is just temporarily hidden from view and when I close session the process stops.
How to launch process on Raspbian and keep it running after I have closed PI session ?
I have tried installing screen but I'm unable to switch screens when content is logged to output ?