title: How do I get the script path in Dart?
body: <p>I need to find out the directory in which the Dart script (which is currently running) is located. How do I go about doing this?</p>
  
  <p>Previously, this was possible through <code>new Options().script</code>, but that class is no more. The arguments list from <code>main(args)</code> doesn't help, since it only contains arguments, not the executed Dart file (at least on Mac OS X). </p>