Commits

Miki Tebeka  committed 774ef04

exit waits

  • Participants
  • Parent commits 2e53269

Comments (0)

Files changed (1)

File src/popen.clj

   (stdin [this] (io/writer (.getOutputStream this)))
   (stderr [this] (io/reader (.getErrorStream this)))
   (join [this] (.waitFor this))
-  (exit-code [this] (exit-code- this))
+  (exit-code [this] (join this) (exit-code- this))
   (running? [this] (nil? (exit-code- this)))
   (kill [this] (.destroy this)))