5 ms·
Let - lets you run a node.js script a specified amount of time.
- nicolast 15y agoOh, 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
- badboy 15y agoseriously, I don't get it why I should use another big node script when there is timeout
- felixge 15y agoAgreed. 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)
- appleflaxen 15y agoCan this be used to make a realtime javascript system?
- pyrotechnick 15y agoThis seems severely over-engineered.