U

updater

Automatic updater for openwrt packages

Project ID: 107
  • Karel Koci's avatar
    subprocess: fix problem with lost stdout content · 8502ac4b
    Karel Koci authored
    I originally was thinking that Lua is doing something nasty like
    duplicating original file descriptor for stdout but it turns out that
    exec was a culprit. For some reason a call to exec truncates (or at
    least removes unfinished line) from stdout. I have no idea why it
    behaves that way but adding flush just after callback (before exec)
    solves that problem and allows us to correctly use print in callback.
    The weird part is that the same thing does not happen with stderr but
    non the less I also added flush for it.
    8502ac4b
Name
Last commit
Last update
build @ 4ad75c84 Loading commit data...
doc Loading commit data...
src Loading commit data...
tests Loading commit data...
utils Loading commit data...
.DockerFile Loading commit data...
.doc_index.md Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.gitmodules Loading commit data...
COPYING Loading commit data...
Makefile Loading commit data...
Makefile.dir Loading commit data...
README.md Loading commit data...