atom-community / atom-community/atom-script
Output Not Printed By Line
Open
enhancement
- Dominant language
- JavaScript
- Stars
- 730
- Forks
- 264
- PR merge metrics
- No merged PRs in 30d
Description
I'm not 100% it was always like this but at the moment stdout doesn't print line by line, and instead spits everything out in one bulk. This python script is a google example.
I think it has something to do with how [BufferedProcess](https://github.com/atom/atom/blob/master/src/buffered-process.coffee) is done, maybe use a modified version or switch to Spawn completely? Just pitching ideas.
```
import time
time.sleep(1)
print 'One'
time.sleep(1)
print 'Two'
time.sleep(10)
print 'Three'
```
EDIT: It seems to be something related to Python I guess, as my Coffeefiles are working correctly.
Contributor guide
Assessment
This issue has not been assessed yet.