Skip to content

Commit

Permalink
Merge pull request #3670 from parkera/rename_task_to_process
Browse files Browse the repository at this point in the history
  • Loading branch information
swift-ci committed Jul 26, 2016
2 parents 78717a8 + be316f5 commit c41edb8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
10 changes: 8 additions & 2 deletions apinotes/Foundation.apinotes
Expand Up @@ -572,6 +572,12 @@ Classes:
SwiftName: NSSpecifierTest
- Name: NSSpellServer
SwiftName: NSSpellServer
- Name: NSTask
SwiftName: Process
Methods:
- Selector: 'launchedTaskWithLaunchPath:arguments:'
SwiftName: launchedProcess(launchPath:arguments:)
MethodKind: Class
- Name: NSArchiver
SwiftName: NSArchiver
- Name: NSUnarchiver
Expand Down Expand Up @@ -1246,7 +1252,7 @@ Tags:
- Name: NSStreamEvent
SwiftName: Stream.Event
- Name: NSTaskTerminationReason
SwiftName: Task.TerminationReason
SwiftName: Process.TerminationReason
- Name: NSTextCheckingType
SwiftName: NSTextCheckingResult.CheckingType
- Name: NSTextCheckingTypes
Expand Down Expand Up @@ -1459,7 +1465,7 @@ Globals:
- Name: NSProcessInfoThermalStateDidChangeNotification
SwiftName: ProcessInfo.thermalStateDidChangeNotification
- Name: NSTaskDidTerminateNotification
SwiftName: Task.didTerminateNotification
SwiftName: Process.didTerminateNotification
- Name: NSTextCheckingAllSystemTypes
SwiftName: NSTextCheckingResult.CheckingType.allSystemTypes
- Name: NSTextCheckingAllCustomTypes
Expand Down
3 changes: 0 additions & 3 deletions stdlib/public/core/CommandLine.swift
Expand Up @@ -12,9 +12,6 @@

import SwiftShims

/// Temporary typealias to aid in migration
public typealias Process = CommandLine

/// Command-line arguments for the current process.
public enum CommandLine {
/// The backing static variable for argument count may come either from the
Expand Down

0 comments on commit c41edb8

Please sign in to comment.