sindresorhus/opn

Do you want to work on this issue?

You can request for a bounty in order to promote it!

Argument list quotes aren't escaped for PowerShell #318

ChristianLW posted onGitHub

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


Fund this Issue

$0.00
Funded
Only logged in users can fund an issue

Pull requests