1. 20 Nov, 2020 1 commit
  2. 16 Apr, 2020 1 commit
  3. 14 Oct, 2019 2 commits
  4. 19 Feb, 2019 1 commit
  5. 08 Feb, 2019 2 commits
  6. 31 Jan, 2019 1 commit
  7. 30 Jan, 2019 2 commits
  8. 29 Jan, 2019 1 commit
  9. 28 Jan, 2019 1 commit
  10. 21 Jan, 2019 3 commits
  11. 07 Jan, 2019 1 commit
  12. 12 Dec, 2018 5 commits
    • 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.
    • Karel Koci's avatar
      subprocess: mark some arguments as not possible to be NULL · a803ad41
      Karel Koci authored
      This also removes possibly hack to run C/Lua code in subprocess without
      providing command. It is overhead but it is more systematic to use
      'true' as a command instead of possibly in code unexpected value NULL.
    • Karel Koci's avatar
      subprocess: Use BUFSIZ in pipes read · 5a09ba46
      Karel Koci authored
      Instead of pretty small constant lets use system level compilation
      constant BUFSIZ. Thanks to that we should have buffer exactly matched to
      stdio buffer which should somewhat ensure better performance. It is
      minor thing but it is better to do it non the less.
    • Karel Koci's avatar
      subprocess: Increase logging about executed processes to debug · dc1bce93
      Karel Koci authored
      This also adds message about termination of subprocess.
    • Karel Koci's avatar
      logging: drop unneeded exit code · 48f9ef06
      Karel Koci authored
      I probably had some plan with it but I no longer remember what it was
      suppose to been. Instead I just drop it here. It can be reverted later
      if needed.
      This also correctly sets read field for cookie structure. This has no
      effect because we are not reading from it but just to be precise with
      our code we set it to know value NULL which means that read is not
  13. 11 Dec, 2018 14 commits
  14. 10 Dec, 2018 2 commits
  15. 07 Dec, 2018 1 commit
  16. 30 Nov, 2018 1 commit
  17. 05 Nov, 2018 1 commit