stop program

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Alberto Vera

    stop program

    Hello:
    Is it possible to stop a program like an executable using Python?

    Regards
  • Irmen de Jong

    #2
    Re: stop program

    Alberto Vera wrote:
    [color=blue]
    > Is it possible to stop a program like an executable using Python?[/color]

    Unix: take a look at os.kill

    other platforms: I have no idea.

    --Irmen

    Comment

    • Matt Gerrans

      #3
      Re: stop program

      > other platforms: I have no idea.

      On Windows, use win32api.Termin ateProcess()


      Comment

      Working...