Skip to content

Many Bundle properties are wrong on Windows after swift-foundation re-coring #5066

Open
@jakepetroules

Description

@jakepetroules

For example, executablePath is implemented like so:

    open var executablePath: String? {
        return executableURL?.path
    }

This will result in it having an incorrect leading slash (like /C:/foo/bar/baz); instead it should use withUnsafeFileSystemRepresentation.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions