Hacker News new | ask | show | jobs
by dillondesilva 236 days ago
Hey Petar, thanks for checking it out and cool suggestion!

As @alsetmusic already mentioned, I think an alias might be the best way for the moment.

One thing that could be challenging is figuring out how to access the stdout/stderr contents for a program that was previously run. With the current implementation, these pipes are routed to hank although I'm not immediately too sure how one could access this post-execution. Feel free to write or implement any ideas onto the repo!

1 comments

> One thing that could be challenging is figuring out how to access the stdout/stderr contents for a program that was previously run.

What luck that I still had this on my to-do list after seeing a couple of posts that coincide with this notion the other day:

https://news.ycombinator.com/item?id=45682219 https://news.ycombinator.com/item?id=45679839

TLDR: capture output for reuse / run commands on output without regenerating it.