From 8d37223fd6e08e2a846fd0e7f64ec434c9e3c811 Mon Sep 17 00:00:00 2001 From: Peter Gielda Date: Fri, 3 Jan 2020 22:27:39 +0100 Subject: [PATCH] Do not kill sargraph when screen is killed --- sargraph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sargraph.py b/sargraph.py index bc73e70..a6075db 100755 --- a/sargraph.py +++ b/sargraph.py @@ -76,7 +76,7 @@ if len(sys.argv) > 1: sys.exit(1) if cmd == "start": print("Starting sargraph session '%s'" % sid) - p = subprocess.Popen(["screen", "-dmSL", sid, os.path.realpath(__file__)]) + p = subprocess.Popen(["screen", "-DmSL", sid, os.path.realpath(__file__)]) while p.poll() is None: time.sleep(0.1) gpid = 0