Skip to content

0.2.0

Latest

Choose a tag to compare

@orchetect orchetect released this 14 Jul 17:52

New

  • Added new BackgroundCommandProcess type (Process wrapper)
  • Added new CommandProcess type (Process wrapper)
  • PID:
    • Added commandName property
    • Added codeSigningInfo property
    • Added executablePath property
    • Added executableURL property
    • Added fileDescriptors property with new FileDescriptorInfo and FileDescriptorFlavor types
    • Added filePorts property (experimental)
    • Added launchDate property
    • Added lsofDescriptors() method
    • Added uptime property
    • Added isExists property
    • Added randomUnused static constructor for automated testing use
    • Added terminate(force:) method
  • Sequence<FileDescriptorInfo>
    • Added contains(whereVNodePath:) method
    • Added filter(whereVNodePath:) method
  • Sequence<PID>
    • Added contains(whereFileDescriptorVNodePath:) method
    • Added filter(whereFileDescriptorVNodePath:) method
    • Added fileDescriptorVNodePaths(whereVNodePath:) method
    • Added lsofDescriptorsSequence(maxConcurrentTasks:) method

Improved

  • PID
    • bundleID: Now uses code signing info of process as a fallback to source bundle ID
    • parent: Now pulls information from short BSD info first, falling back to bsd info if needed, which now results in more consistent return values
    • Refactored ancestors iterator/sequence to accommodate PID 0 now that PID.parent is more consistent
  • PIDError: Added CustomStringConvertible/CustomDebugStringConvertible conformance

Changed

  • PID.SystemError has been renamed to top-level PIDError