Add ability to get the current working directory in dart script #1904
Labels
area-core-library
SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.
closed-duplicate
Closed in favor of an existing report
library-io
type-enhancement
A request for a change that isn't a bug
Currently, the only way I can find to determine what directory the user is in is by running
new Process.start('pwd') and adding a lineHandler to capture the output, which is not OS-independent and unclear whether it would even work since the Windows equivalent is echo %cd%, which requires running in the shell.
The text was updated successfully, but these errors were encountered: