Commit e2cb6a6
committed
Update README instructions for web browsers on Windows
Git Bash tries to open `http://.bookindex.html/` with the provided
command. Quoting the path solved the problem.
```shell start firefox.exe ".\book\index.html" ```
Cmd and Powershell both work with or without quotes.
Since `start` works in PowerShell, I removed Start-Process from the
README to simplify it, but I've only tested on Windows 11. I don't know
if start works everywhere, but I do have a Windows 10 machine I can
check on if you like?
Using Ubuntu in Windows Terminal (WSL) has the same problem as Git Bash
if the path isn't quoted. It works when using a command like this
(Windows version of Firefox):
```bash powershell.exe start firefox ".\book\index.html" ```1 parent ef1ce8f commit e2cb6a6
1 file changed
+4
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
61 | | - | |
62 | | - | |
| 60 | + | |
| 61 | + | |
63 | 62 | | |
64 | 63 | | |
65 | 64 | | |
66 | 65 | | |
67 | 66 | | |
68 | 67 | | |
69 | | - | |
70 | | - | |
71 | | - | |
| 68 | + | |
| 69 | + | |
72 | 70 | | |
73 | 71 | | |
74 | 72 | | |
| |||
0 commit comments