Created by: svenefftinge
Problem
Users sometimes use a command including subcommands and options in $BROWSER
. Open does handle this nicely, but create react app already reads the contents of $BROWSER and passes it as the command (app
), which fails.
Solution
This PR avoids passing the contents of $BROWSER
unless the create-react-app specific $BROWSER_ARGS
is used as well. This way we can rely on the common contract for $BROWSER
which is handled better by xdg-open.