Menu

Port stuck open

Help
Anonymous
2010-02-01
2013-05-20
  • Anonymous

    Anonymous - 2010-02-01

    Apologies, but I have a little problem.

    I am developing in Python, and sometimes the code I am writing will fail to execute properly, leaving a com port open. The only way I can access that port again is to reboot the computer! Is there a way of closing an opened com port?

    Thanks

    Simon

     
  • Vyacheslav Frolov

    Windows will close com port on finishing process that opened it.
    So to close com port you need to kill process that execute you Python code.

     

Log in to post a comment.