jayjun / rambo

Run your command. Send input. Get output.
MIT License
199 stars 21 forks source link

Command does not terminate with bigger inputs #1

Closed philipgiuliani closed 4 years ago

philipgiuliani commented 4 years ago

Hi, when trying to pass a huge value as stdin to Rambo the command never terminates.

Steps to reproduce:

  1. Download this sample text file (Its only 280kb of lorem ipsum...): test.txt
  2. {:ok, txt} = File.read("test.txt")
  3. Rambo.run("cat", [], in: txt)

With smaller files the command will return, but only a random amount of the input gets returned to the output.

jayjun commented 4 years ago

Thanks for the report! Fixed in 0.3.0.