title: Get the current process (executable) name in Go?
body: <p>What I am looking for here is the equivalent of C's <code>argv[0]</code>. </p>
  
  <p>The <code>flag</code> package only gives access to command line arguments, but not the executable name. </p>
  
  <p>While one can get the process with <code>Getpid()</code>, I haven't found something that will give me access to the whole command line. The <code>syscall</code>  command <code>GetCommandLine()</code> seems only to be available on Windows.    </p>