title: What exactly does this do: exec > > (command)
body: <p>I saw <a href="https://stackoverflow.com/questions/5955577/bash-automatically-capture-output-of-last-executed-command-into-a-variable/6052267#6052267">here</a> and <a href="https://superuser.com/questions/86915/force-bash-script-to-use-tee-without-piping-from-the-command-line/86955#86955">here too</a> the following construction:</p>
  
  <pre><code>exec &gt; &gt;(tee -a script.log)
  </code></pre>
  
  <p>I know what the tee command is, and the (command...) usually means execute the <code>command</code> in a subshell, and exec replaces the current shell with a program, like <code>exec ls</code>, (but here there is no command) and additionally what is meant with the <code>&gt; &gt;</code>?</p>
  
  <p>Can anybody clarify this dark wizzardy?</p>
  
  <pre><code>exec &gt;{space}&gt; (command)
  </code></pre>
  
  <p>@Seth? :) Any pointer where i can read more about this magic would be appreciated. :)</p>