sindresorhus/open

Argument list quotes aren't escaped for PowerShell

ChristianLW opened this issue · 0 comments

When passing arguments (ending up in options.app.arguments for baseOpen), quotation marks in the passed string(s) aren't escaped with a ` for PowerShell when Windows is the current platform. This causes things like --user-data-dir="foo" to make the function silently fail.