From 9e9bbd4960587ae96e660549c8873568b83b9a99 Mon Sep 17 00:00:00 2001 From: chrys Date: Wed, 9 Nov 2016 21:33:59 +0100 Subject: [PATCH] update ToDo, ps example --- TODO | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TODO b/TODO index 1b531e6b..6a7286b0 100644 --- a/TODO +++ b/TODO @@ -8,7 +8,7 @@ ToDos in Priority order: in special cases next word skipps a word, "word<12 spaces>word2<12 spaces>word3 (storm_dragon) spellcheck triggers twice if there are two spaces after an word and you arrow over them fenrir is not able to detect the current application inside of screen. - ps -e -H -o pid,pgrp,pid,ppid,cmd + ps -e -H -o pid,pgrp,ppid,tty,cmd http://stackoverflow.com/questions/24861351/how-to-detect-if-python-script-is-being-run-as-a-background-process/24862213 fd = open("/dev/tty") os.tcgetpgrp(fd)