From f66dd98d5615059cd06f8afc64460c9c69c5d213 Mon Sep 17 00:00:00 2001 From: danielmenezesbr Date: Tue, 20 Dec 2016 17:01:08 -0200 Subject: [PATCH] &> 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 --- website/source/docs/other/debugging.html.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/website/source/docs/other/debugging.html.md b/website/source/docs/other/debugging.html.md index 159d4e03b..eb0a81643 100644 --- a/website/source/docs/other/debugging.html.md +++ b/website/source/docs/other/debugging.html.md @@ -58,9 +58,14 @@ option. For example: $ 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 `&>`: ``` $ vagrant up --debug &> vagrant.log ``` + +On Windows: +``` +$ vagrant up --debug > vagrant.log 2>&1 +```