Hacker News new | past | comments | ask | show | jobs | submit login
Let - lets you run a node.js script a specified amount of time. (github.com/vesln)
9 points by jenhsun on Feb 19, 2012 | hide | past | favorite | 7 comments



Oh, so that's something like timeout (as distributed in coreutils on GNU/Linux systems, and according to man pages available on the web also on *BSD etc)?

  $ timeout -s 9 5s md5sum /dev/zero
  Killed


seriously, I don't get it why I should use another big node script when there is timeout


Agreed. I usually end up doing the opposite in node, whenever there is an existing *nix tool for a job, I'll spawn that from my node process rather than reimplementing it. Node's child process machinery is the best I've seen so far.

(Disclaimer: I'm a node contributor)


This seems severely over-engineered.


Can this be used to make a realtime javascript system?


Oh come on


Yes, and it's webscale.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: