Title: Easier piping of string to stdin? · Issue #33 · charlesetc/feather · GitHub
Open Graph Title: Easier piping of string to stdin? · Issue #33 · charlesetc/feather
X Title: Easier piping of string to stdin? · Issue #33 · charlesetc/feather
Description: IIUC, the way to write something to a process's stdin is Process.(echo "foobar" |. proc "sha256sum" [] |> collect stdout). The echo will create a process invoking the echo binary -- this seems a bit wasteful. Is there some way of writing...
Open Graph Description: IIUC, the way to write something to a process's stdin is Process.(echo "foobar" |. proc "sha256sum" [] |> collect stdout). The echo will create a process invoking the echo binary -- this seems a bi...
X Description: IIUC, the way to write something to a process's stdin is Process.(echo "foobar" |. proc "sha256sum" [] |> collect stdout). The echo will create a process invoking the ech...
Opengraph URL: https://github.com/charlesetc/feather/issues/33
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Easier piping of string to stdin?","articleBody":"IIUC, the way to write something to a process's stdin is `Process.(echo \"foobar\" |. proc \"sha256sum\" [] |\u003e collect stdout)`. The `echo` will create a process invoking the `echo` binary -- this seems a bit wasteful. Is there some way of writing a string directly to the standard input of a process? Something like `(\u003c\u003c\u003c) : proc -\u003e string -\u003e proc`, analogous to the bash [here-strings](https://www.gnu.org/software/bash/manual/bash.html#Here-Strings) ? Such that the above could be written `Process.(proc \"sha256sum\" [] \u003c\u003c\u003c \"foobar\" |\u003e collect stdout_.","author":{"url":"https://github.com/arvidj","@type":"Person","name":"arvidj"},"datePublished":"2025-06-23T15:00:23.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/33/feather/issues/33"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b58f2c98-b6ae-1d42-75d0-689cb82ba12c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CCA2:5D4B9:3D145E:4F7D29:69802E3C |
| html-safe-nonce | 33b40c450fc10e00ba804eb3a92e07339a92672730c15ccbb1e0f4a3862ee5fe |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQ0EyOjVENEI5OjNEMTQ1RTo0RjdEMjk6Njk4MDJFM0MiLCJ2aXNpdG9yX2lkIjoiNzE3NTEwNDk1MTQxMTEzNDA0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | be9a1d65b07f84af957d31071a8ad4a60c06870fe6dbf741edfe4ae7a8a5b2ff |
| hovercard-subject-tag | issue:3168521997 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/charlesetc/feather/33/issue_layout |
| twitter:image | https://opengraph.githubassets.com/cca48484078fb4739512b0a58a63cb4374dd70c7ad5f9d5452aad501de9c1ad2/charlesetc/feather/issues/33 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cca48484078fb4739512b0a58a63cb4374dd70c7ad5f9d5452aad501de9c1ad2/charlesetc/feather/issues/33 |
| og:image:alt | IIUC, the way to write something to a process's stdin is Process.(echo "foobar" |. proc "sha256sum" [] |> collect stdout). The echo will create a process invoking the echo binary -- this seems a bi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | arvidj |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6 |
| turbo-cache-control | no-preview |
| go-import | github.com/charlesetc/feather git https://github.com/charlesetc/feather.git |
| octolytics-dimension-user_id | 5167293 |
| octolytics-dimension-user_login | charlesetc |
| octolytics-dimension-repository_id | 318892681 |
| octolytics-dimension-repository_nwo | charlesetc/feather |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 318892681 |
| octolytics-dimension-repository_network_root_nwo | charlesetc/feather |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7c85641c598ad130c74f7bcc27f58575cac69551 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width