Definitely neat, but of course platform-dependent.
Due to the cross-platform needs of Mozilla's PDF.js build scripts, we've been writing a Node.js lib on top of Node's APIs that enables you to write shell-like scripts that run seamlessly on multiple platforms:
Like Sh.py, you can (if you must) also run external commands, either synchronously or asynchronously.