&> is not valid on windows
The command "vagrant up --debug &> vagrant.log" is not valid on Windows. On Windows, you need to do: vagrant up --debug > vagrant.log 2>&1
This commit is contained in:
parent
a3b9d231ad
commit
f66dd98d56
|
@ -58,9 +58,14 @@ option. For example:
|
||||||
$ vagrant up --debug
|
$ vagrant up --debug
|
||||||
```
|
```
|
||||||
|
|
||||||
If you are saving the output to a file, you may need to redirect stderr and
|
On Linux and Mac, if you are saving the output to a file, you may need to redirect stderr and
|
||||||
stdout using `&>`:
|
stdout using `&>`:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ vagrant up --debug &> vagrant.log
|
$ vagrant up --debug &> vagrant.log
|
||||||
```
|
```
|
||||||
|
|
||||||
|
On Windows:
|
||||||
|
```
|
||||||
|
$ vagrant up --debug > vagrant.log 2>&1
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in New Issue