File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 7
7
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
8
8
//
9
9
10
+ #if os(Windows)
11
+ import WinSDK
12
+ #endif
13
+
10
14
/// File-system operation attempted on non-existent file.
11
15
public var NSFileNoSuchFileError : Int { return CocoaError . Code. fileNoSuchFile. rawValue }
12
16
Original file line number Diff line number Diff line change @@ -777,7 +777,7 @@ open class Process: NSObject {
777
777
// status
778
778
#if os(Windows)
779
779
open private( set) var processHandle : HANDLE = INVALID_HANDLE_VALUE
780
- open private ( set ) var processIdentifier : Int32 {
780
+ open var processIdentifier : Int32 {
781
781
return Int32 ( GetProcessId ( processHandle) )
782
782
}
783
783
open private( set) var isRunning : Bool = false
You can’t perform that action at this time.
0 commit comments