Message288263
The program does not work the way I wanted it to. I want the output of the top command to be seen only by the python program. The program I made causes the top command to print its output to the terminal. Using subprocess.Popen() with stdout=subprocess.PIPE does prevent the top command's output from being printed to the terminal. Now I need a way to actually work with that output. Would you know a way to do this?
I can't use the communicate() function because it blocks until the top command quits. |
|
Date |
User |
Action |
Args |
2017-02-21 04:10:49 | pyguy | set | recipients:
+ pyguy, ronaldoussoren, ned.deily |
2017-02-21 04:10:48 | pyguy | set | messageid: <1487650248.97.0.335604428124.issue29609@psf.upfronthosting.co.za> |
2017-02-21 04:10:48 | pyguy | link | issue29609 messages |
2017-02-21 04:10:48 | pyguy | create | |
|