aboutsummaryrefslogtreecommitdiff
var child_process = require("child_process");

module.exports = function(tasks) {
    (function next() {
        if (!tasks.length) return;
        var args = tasks.shift();
        console.log();
        console.log("\u001B[36m$> " + args.join(" ") + "\u001B[39m");
        child_process.spawn(process.argv[0], args, {
            stdio: [ "ignore", 1, 2 ]
        }).on("exit", function(code) {
            if (code) process.exit(code);
            next();
        });
    })();
};
/guix/commit/gnu/tests/security-token.scm?id=de30205ba0f63eb987097a9f47b6e4fd38cd9044'>gnu: services: Add pcscd service....Arun Isaac