I’m just driving-by, I haven’t actually tried running this, but I think that comment might be mistaken, from looking at some docs
- https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/out-null?view=powershell-7
- https://www.reddit.com/r/PowerShell/comments/a85r1s/why_outnull/
It sounds like “| Out-Null” is the equivalent of “> /dev/null”.
I think powershell commands wait for the previous command to finish (I don’t believe powershell executes commands automatically in parallel - how would ‘cd’ work if it does?).
I think perhaps when running
./graphviz-install.exe /S /D=$env:graphviz_install_dir | Out-Null;
I think the Out-Null just makes it so the console output of graphviz-install.exe doesn’t show up on screen?