Skip to content

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

Closed
@ikappaki

Description

@ikappaki

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions