to explain what happen on your command: this:
> /dev/null 2>&1 & says: send std output to null send std err to stdoutput send job to background i think order matters 2>&1 > /dev/null & should have done the trick, but &>/dev/null send alls to null Alvaro On Wed, Aug 16, 2017 at 5:40 PM, Andrew Szczepanski < [email protected]> wrote: > I think that did it! To throw it in a background process I did: > > (vagrant rsync-auto &>/dev/null) & > > Thanks Alvaro! > > On Friday, August 11, 2017 at 6:24:06 AM UTC-4, Alvaro Miranda Aguilera > wrote: >> >> what about >> >> vagrant rsync-auto &>/dev/null >> >> >> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> >> Virusvrij. >> www.avast.com >> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> >> <#m_-7864945632522626732_CAHqq0ez2sR5N=Hu8SdF+aEuHXgWYr==bPDk0isoRgBJpqsYi-A@mail.gmail.com_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> >> >> On Thu, Aug 10, 2017 at 6:11 PM, Andrew Szczepanski < >> [email protected]> wrote: >> >>> I'm trying to run `vagrant rsync-auto` in the background via the command >>> `vagrant rsync-auto > /dev/null 2>&1 &` >>> >>> However, the original session I ran the command from still receives >>> messages from the process (or possible the subprocesses?) of `vagrant >>> rsync-auto`. >>> >>> eg: >>> "==> project: Watching: /Users/yourname/project" >>> >>> I've also tried passing the `-q` flag like: >>> >>> config.vm.synced_folder ".", "/home/ubuntu/project", type: "rsync", >>> rsync__exclude: ".git/", rsync__args: ["-q", "--archive", "--delete", >>> "-z"] >>> >>> This actually gives *more *output than the default `--verbose` flag -- >>> it now tells me which folders are excluded on each watcher update. >>> >>> Does anyone know how to suppress this output? >>> >>> -- >>> This mailing list is governed under the HashiCorp Community Guidelines - >>> https://www.hashicorp.com/community-guidelines.html. Behavior in >>> violation of those guidelines may result in your removal from this mailing >>> list. >>> >>> GitHub Issues: https://github.com/mitchellh/vagrant/issues >>> IRC: #vagrant on Freenode >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "Vagrant" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To view this discussion on the web visit https://groups.google.com/d/ms >>> gid/vagrant-up/436605cf-ad29-4b9d-8e0c-078c5f7e0281%40googlegroups.com >>> <https://groups.google.com/d/msgid/vagrant-up/436605cf-ad29-4b9d-8e0c-078c5f7e0281%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >> >> -- >> Alvaro >> >> -- > This mailing list is governed under the HashiCorp Community Guidelines - > https://www.hashicorp.com/community-guidelines.html. Behavior in > violation of those guidelines may result in your removal from this mailing > list. > > GitHub Issues: https://github.com/mitchellh/vagrant/issues > IRC: #vagrant on Freenode > --- > You received this message because you are subscribed to the Google Groups > "Vagrant" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/vagrant-up/7233dd17-e0c9-4e15-a24f-9474cf2e84ce%40googlegroups.com > <https://groups.google.com/d/msgid/vagrant-up/7233dd17-e0c9-4e15-a24f-9474cf2e84ce%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Alvaro -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/vagrant/issues IRC: #vagrant on Freenode --- You received this message because you are subscribed to the Google Groups "Vagrant" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0eyRX7rAHOEPF9HM-suQ7JiAP3XK%3DuC2Yq%2BXBG%3D5pTMxbg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
