{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/sdk/issues/33643","repository_url":"https://api.github.com/repos/dart-lang/sdk","labels_url":"https://api.github.com/repos/dart-lang/sdk/issues/33643/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/sdk/issues/33643/comments","events_url":"https://api.github.com/repos/dart-lang/sdk/issues/33643/events","html_url":"https://github.com/dart-lang/sdk/issues/33643","id":336046686,"node_id":"MDU6SXNzdWUzMzYwNDY2ODY=","number":33643,"title":"Add the ability to capture standard output","user":{"login":"nex3","id":188,"node_id":"MDQ6VXNlcjE4OA==","avatar_url":"https://avatars0.githubusercontent.com/u/188?v=4","gravatar_id":"","url":"https://api.github.com/users/nex3","html_url":"https://github.com/nex3","followers_url":"https://api.github.com/users/nex3/followers","following_url":"https://api.github.com/users/nex3/following{/other_user}","gists_url":"https://api.github.com/users/nex3/gists{/gist_id}","starred_url":"https://api.github.com/users/nex3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nex3/subscriptions","organizations_url":"https://api.github.com/users/nex3/orgs","repos_url":"https://api.github.com/users/nex3/repos","events_url":"https://api.github.com/users/nex3/events{/privacy}","received_events_url":"https://api.github.com/users/nex3/received_events","type":"User","site_admin":false},"labels":[{"id":531084407,"node_id":"MDU6TGFiZWw1MzEwODQ0MDc=","url":"https://api.github.com/repos/dart-lang/sdk/labels/Customer-Dart%20Sass","name":"Customer-Dart Sass","color":"006b75","default":false},{"id":334529267,"node_id":"MDU6TGFiZWwzMzQ1MjkyNjc=","url":"https://api.github.com/repos/dart-lang/sdk/labels/Type:%20enhancement","name":"Type: enhancement","color":"ededed","default":false},{"id":219928184,"node_id":"MDU6TGFiZWwyMTk5MjgxODQ=","url":"https://api.github.com/repos/dart-lang/sdk/labels/area-library","name":"area-library","color":"c7def8","default":false},{"id":219928199,"node_id":"MDU6TGFiZWwyMTk5MjgxOTk=","url":"https://api.github.com/repos/dart-lang/sdk/labels/library-io","name":"library-io","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-06-27T01:34:40Z","updated_at":"2018-06-27T19:48:06Z","closed_at":null,"author_association":"MEMBER","body":"The [`IOOverrides`](https://api.dartlang.org/dev/dart-io/IOOverrides-class.html) class makes it possible to override a number of `dart:io` interfaces, but it doesn't support `stdout` or `stderr`. This makes it impossible to capture all the output from a chunk of Dart code. This is useful for (among other things) writing [persistent Bazel workers](https://blog.bazel.build/2015/12/10/java-workers.html) that wrap a Dart program's `main()` method and send its output as a protobuf to the build runner.\r\n\r\nThis is blocking Dart Sass's ability to support Bazel workers within Google, which is high-priority for us."},"comment":{"url":"https://api.github.com/repos/dart-lang/sdk/issues/comments/400806851","html_url":"https://github.com/dart-lang/sdk/issues/33643#issuecomment-400806851","issue_url":"https://api.github.com/repos/dart-lang/sdk/issues/33643","id":400806851,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMDgwNjg1MQ==","user":{"login":"natebosch","id":7528195,"node_id":"MDQ6VXNlcjc1MjgxOTU=","avatar_url":"https://avatars3.githubusercontent.com/u/7528195?v=4","gravatar_id":"","url":"https://api.github.com/users/natebosch","html_url":"https://github.com/natebosch","followers_url":"https://api.github.com/users/natebosch/followers","following_url":"https://api.github.com/users/natebosch/following{/other_user}","gists_url":"https://api.github.com/users/natebosch/gists{/gist_id}","starred_url":"https://api.github.com/users/natebosch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natebosch/subscriptions","organizations_url":"https://api.github.com/users/natebosch/orgs","repos_url":"https://api.github.com/users/natebosch/repos","events_url":"https://api.github.com/users/natebosch/events{/privacy}","received_events_url":"https://api.github.com/users/natebosch/received_events","type":"User","site_admin":false},"created_at":"2018-06-27T19:48:06Z","updated_at":"2018-06-27T19:48:06Z","author_association":"MEMBER","body":"Yeah we do everything with a `Zone` capturing `print` calls. In all of our usage if the other code used `stdout` directly it would cause problems, so we disallow it.\r\n\r\nWhy does Sass need to use `stdout` instead of `print`?"}}
{"actor":{"display_login":"natebosch"}}