Skip to main content
15 events
when toggle format what by license comment
Jan 13, 2020 at 21:46 history edited samson77 CC BY-SA 4.0
added 678 characters in body
Jan 13, 2020 at 9:32 history edited samson77 CC BY-SA 4.0
added 423 characters in body
Jan 7, 2020 at 19:44 history edited samson77 CC BY-SA 4.0
deleted 36 characters in body
Jan 7, 2020 at 19:37 history edited samson77 CC BY-SA 4.0
added 2 characters in body
Jan 7, 2020 at 19:32 history edited samson77 CC BY-SA 4.0
added 904 characters in body
Jan 7, 2020 at 6:30 comment added samson77 Sorry for the unreadable code above 😊 Just edited the main question
Jan 7, 2020 at 6:28 history edited samson77 CC BY-SA 4.0
added 469 characters in body
Jan 7, 2020 at 6:17 comment added JdeBP unix.stackexchange.com/a/333578/5132 applies.
S Jan 7, 2020 at 4:27 history suggested ajgringo619
added related tag
Jan 7, 2020 at 2:35 review Suggested edits
S Jan 7, 2020 at 4:27
Jan 7, 2020 at 2:35 comment added ajgringo619 Please add your previous comment to your question (include the proper Python formatting); here it's really hard to read.
Jan 6, 2020 at 23:52 comment added samson77 while True: aa = subprocess.Popen(['lxterminal', '-e', ' test_aa.py']) bb = subprocess.Popen(['lxterminal', '-e', 'test_bb.py']) time.sleep(5) aa.terminate() bb.kill() time.sleep(200) Another example: while True: print("opening") proc = subprocess.Popen(['lxterminal', '-e', ' test_aa.py']) c = proc.pid print(c) time.sleep(3) os.kill(c, signal.SIGTERM) time.sleep(700) #works if no other terminal window opened manually, if opened by main program no problems to close down.
Jan 6, 2020 at 23:45 review First posts
Jan 7, 2020 at 2:35
Jan 6, 2020 at 23:44 comment added Chris Davies Do you have - or can you write - a short piece of code that demonstrates this problem? From your description it's certainly not what I'd expect to happen.
Jan 6, 2020 at 23:41 history asked samson77 CC BY-SA 4.0