5fb75d3952
This appears to be what a lot of our users are doing and it is the style used in our other libraries. Noteworthy changes: - File and Directory objects are now immutable. - Directory.list returns an active lister object. - Write operations on files return futures and the onNoPendingWrites handler is gone. The same functionality is there by using 'then' on the future returned from the last write operation. - Process starting is now done with static methods: -- Process.start yields an InteractiveProcess. -- Process.run yields a Future<ProcessResult> BUG= TEST= Review URL: https://chromiumcodereview.appspot.com//10392023 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7529 260f80e4-7a28-3924-810f-c04153c831b5