nedsociety / pysandboxie

A python binding to Sandboxie
MIT License
12 stars 2 forks source link

Unable to listpids of newer sandboxie versions #12

Closed nubonics closed 2 years ago

nubonics commented 2 years ago

About a year ago, I was able to use the listpids() feature that you added, however, this feature has seemed to die in the newer versions of sandboxie [ when sandboxie is upgraded to the latest version, the listpids method in pysandboxie no longer works. ]

nedsociety commented 2 years ago

I cannot reproduce the issue in the latest sbie 1.3.2:

>>> import sandboxie
>>> sbie = sandboxie.Sandboxie()
>>> proc = sbie.execute(['notepad.exe'], 'DefaultBox')
>>> sbie.listpids('DefaultBox') 
[442224, 439536, 431452, 443156]
>>>
nubonics commented 2 years ago

Saving the Sandboxie.ini file with the encoding you mentioned in the other issue I raised solved this problem as well.

Thank you so much!!!

& For creating this library, cant thank you enough! & For your speedy responses! Awesome!