Skip to content
This repository has been archived by the owner on Jan 14, 2025. It is now read-only.

Releases: dart-lang/io

v1.0.4: various updates and add publishing automation (#95)

19 Jan 21:50
720095e
Compare
Choose a tag to compare

v0.3.1

01 Dec 21:15
0a78d51
Compare
Choose a tag to compare

0.3.1

  • Added SharedStdIn.nextLine (similar to readLineSync) and lines:
main() async {
  // Prints the first line entered on stdin.
  print(await sharedStdIn.nextLine());
  
  // Prints all remaining lines.
  await for (final line in sharedStdIn.lines) {
    print(line);
  }
}
  • Added a copyPath and copyPathSync function, similar to cp -R.

  • Added a dependency on package:path.

  • Added the remaining missing arguments to ProcessManager.spawnX which
    forward to Process.start. It is now an interchangeable function for running
    a process.

v0.3.0

12 Oct 04:32
Compare
Choose a tag to compare

0.3.0

  • BREAKING CHANGE: The arguments argument to ProcessManager.spawn is
    now positional (not named) and required. This makes it more similar to the
    built-in Process.start, and easier to use as a drop in replacement:
processManager.spawn('dart', ['--version']);
  • Fixed a bug where processes created from ProcessManager.spawn could not
    have their stdout/stderr read through their respective getters (a runtime
    error was always thrown).

  • Added ProcessMangaer#spawnBackground, which does not forward stdin.

  • Added ProcessManager#spawnDetached, which does not forward any I/O.

  • Added the shellSplit() function, which parses a list of arguments in the
    same manner as the POSIX shell.