tree-sitter / tree-sitter-cli

CLI tool for creating and testing tree-sitter parsers
MIT License
45 stars 15 forks source link

Don't try to open HTML files using open(1) on Linux #26

Open maxbrunsfeld opened 6 years ago

maxbrunsfeld commented 6 years ago

When parsing a file with the -D flag, we currently try to open the generated HTML log file with the open command. This doesn't work on Linux, and I'm not sure if there's a reliable equivalent. If there isn't, then on Linux we should probably just print out the name of the generated file and stop there.