o/Directory-class.html">Directory</a>
or a <a href="dart-core/String-class.html">String</a>.</p>
<p>The new value is passed to the OS's system call unchanged, so a
relative path passed as the new working directory will be
resolved by the OS.</p>
<p>Note that setting the current working directory is a synchronous
operation and that it changes the working directory of <em>all</em>
isolates.</p>
<p>Use this with care - especially when working with asynchronous
operations and multiple isolates. Changing the wor