Code Monkey home page Code Monkey logo

getinstalledprogramrunningprocess's People

Watchers

 avatar  avatar

getinstalledprogramrunningprocess's Issues

Setting default value error.

Describe the bug
You can't use client code via python getInstalledProgramRunningProcess_client.py even set default value.

To Reproduce

Expected behavior
Get default value flag 6 and send data.
e.g. python getInstalledProgramRunningProcess_client.py
but now will get error.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context
Add any other context about the problem here.

Socket bind address reuse conflict

Describe the bug
Socket might conflict in bind 17377 port to web service

To Reproduce
Steps to reproduce the behavior:

  1. run web service via python from python -m http.server 17377
  2. run getInstalledProgramRunningProcess_service.py
  3. open browser to view 127.0.0.1:17377
  4. run command python.exe .\getInstalledProgramRunningProcess_client.py q
  5. you might get text q in your browser

Expected behavior
Socket might bind conflict, and use the next port 17378

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows
  • Browser: Firefox
  • Version: None

Smartphone (please complete the following information):

Additional context

Flag logic bug issue.

Describe the bug
Flag logic bug.

Flag 1 will get installed program message and running process message.

But if you send flag 3 or 5. You will get installed program message or running process message both twice. It's not a good result.

Expected result flag 3 or 5 will get installed program message or running process message once. And write it to local data.

To Reproduce
Steps to reproduce the behavior:

  1. Running the service code
  2. Running the client code and send flag 3 or 5 . e.g. python getInstalledProgramRunningProcess_client.py -f 3
  3. In this case. You will run get_service_running_process function twice and get_service_installed_program once.
  4. It's time consuming and not expected behavior.

Expected behavior
You will write what you want data. Not get all data if you send flag 1.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS : Windows 10 1909
  • Browser : None
  • Version : None

Additional context
Add any other context about the problem here.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.