Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-1733

No SIGKILL in python signal library on Windows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.0.0
    • 0.8.1, 1.0.0
    • atlas-core
    • None
    • Windows 7

    Description

      [I am new to Atlas and this is my first JIRA issue so apologies if I have omitted any necessary information or steps.]

      There is no SIGKILL signal in the python signal library on Windows, so the import in atlas_stop.py fails.
      There are two ways I can suggest that we fix it:
      1) introduce platform-specific code into atlas_stop.py
      2) wrap the python os.kill function
      My preference is for the former as it is a small and localized change.
      In either case the use of SIGTERM should be sufficient on Windows, as the existing python os.kill() function will open the process and terminate it, which is supposed to be equivalent to a SIGKILL (-9) on Linux.

      Attachments

        1. ATLAS-1733.patch
          1 kB
          Graham Wallis
        2. ATLAS-1733.patch
          2 kB
          Graham Wallis

        Activity

          People

            grahamwallis Graham Wallis
            grahamwallis Graham Wallis
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 0.5h
                0.5h
                Remaining:
                Remaining Estimate - 0.5h
                0.5h
                Logged:
                Time Spent - Not Specified
                Not Specified