Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release spawnInstance raise error. #85

Open
N0I0C0K opened this issue May 7, 2022 · 1 comment
Open

Release spawnInstance raise error. #85

N0I0C0K opened this issue May 7, 2022 · 1 comment

Comments

@N0I0C0K
Copy link

N0I0C0K commented May 7, 2022

  • 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.')

@tensorsofthewall
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants