osquery-python icon indicating copy to clipboard operation
osquery-python copied to clipboard

Release spawnInstance raise error.

Open N0I0C0K opened this issue 3 years ago • 1 comments

  • platform : win11
  • python version: 3.9.7
  • osquery version: 5.2.3
  • osquery-python version: 3.0.7

when release a SpawnInstance, it always raise a error pywintypes.error: (1, 'DisconnectNamedPipe', 'Incorrect function.')

test code:

import osquery

if __name__ == "__main__":
    instance = osquery.SpawnInstance()
    instance.open()
    del instance
    print('end test')

And it will raise a error pywintypes.error: (1, 'DisconnectNamedPipe', 'Incorrect function.')

N0I0C0K avatar May 07 '22 11:05 N0I0C0K

This issue still occurs. This was solved in #88 but the change was reverted at some point. Can we get a fix for this

tensorsofthewall avatar Nov 10 '24 08:11 tensorsofthewall