sindresorhus / open

Open stuff like URLs, files, executables. Cross-platform.
MIT License
3.18k stars 219 forks source link

Windows: Fix error with forward slashes in path #220

Closed kuzalekon closed 3 years ago

kuzalekon commented 3 years ago

This PR will fix #214 issue. The error happens if in the -FilePath parameter for Start-Process cmdlet contains the escaped quotation character. So just need to not add it.

sindresorhus commented 3 years ago

@anaisbetts Would you be able to review?

kuzalekon commented 3 years ago

@anaisbetts

anaisbetts commented 3 years ago

Seems reasonable to me