Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

basilisp.process/exec hangs with large stdout output #1202

Closed
ikappaki opened this issue Jan 12, 2025 · 0 comments · Fixed by #1210
Closed

basilisp.process/exec hangs with large stdout output #1202

ikappaki opened this issue Jan 12, 2025 · 0 comments · Fixed by #1210
Assignees
Labels
component:basilisp.process Issue pertaining to basilisp.process namespace issue-type:bug Something isn't working

Comments

@ikappaki
Copy link
Contributor

ikappaki commented Jan 12, 2025

Hi,

basilisp.process/exec hangs when there is a large amount of output printed to stdout.

To reproduce.

  • Open up the REPL and try to cat the core.lpy file, the command will not return:
$ basilisp repl
basilisp.user=> (require '[basilisp.process :as proc])
nil

basilisp.user=> (proc/exec "cat" "src/basilisp/core.lpy")

The same command works with smaller files:

basilisp.user=> (proc/exec "cat" "README.md")
"# \U0001f40d basilisp \U0001f40d\n\nA Clojure-compatible(-ish)...

basilisp.user=>

Thanks

@chrisrink10 chrisrink10 added issue-type:bug Something isn't working component:basilisp.process Issue pertaining to basilisp.process namespace labels Feb 12, 2025
@chrisrink10 chrisrink10 self-assigned this Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:basilisp.process Issue pertaining to basilisp.process namespace issue-type:bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants