adobe-rpc
adobe-rpc copied to clipboard
Changed the start time on real start time of process, and add one exception that caused an error on my PC
I've added a 'create_time' attribute to the process parsing to get the real start time of an app.
process_info = process.as_dict(attrs=['pid', 'name', 'create_time'])
Also there was an error when I tried to launch this for first time, caused by process_info['name'].lower() , it was an AttributeError exception because of NoneType value in process_info, perhaps some processes, parsed by function, doesn't return anything