lib/launchers/browser-launcher.js
function onLauncherConnect(slaveURL) {
    var browsers = attester.config["run-browser"];
    if (browsers) {
        if (!Array.isArray(browsers)) {
            browsers = [browsers];
        }
        var args = [slaveURL];
        for (var i = 0, l = browsers.length; i < l; i++) {
            var curProcess = spawn(browsers[i], args, {
                stdio: "pipe"
            });
            curProcess.stdout.pipe(process.stdout);
            curProcess.stderr.pipe(process.stderr);
        }
    }
}
function onLauncherConnect(slaveURL) {
    var browsers = attester.config["run-browser"];
    if (browsers) {
        if (!Array.isArray(browsers)) {
            browsers = [browsers];
        }
        var args = [slaveURL];
        for (var i = 0, l = browsers.length; i < l; i++) {
            var curProcess = spawn(browsers[i], args, {
                stdio: "pipe"
            });
            curProcess.stdout.pipe(process.stdout);
            curProcess.stderr.pipe(process.stderr);
        }
    }
}
function onLauncherConnect ( slaveURL ) { var browsers = attester . config [ "run-browser" ] ; if ( browsers ) { if ( ! Array . isArray ( browsers ) ) { browsers = [ browsers ] ; } var args = [ slaveURL ] ; for ( var i = 0 , l = browsers . length ; i < l ; i ++ ) { var curProcess = spawn ( browsers [ i ] , args , { stdio : "pipe" } ) ; curProcess . stdout . pipe ( process . stdout ) ; curProcess . stderr . pipe ( process . stderr ) ; } } }
Generic launcher for browsers specified on the command line. It spawns a child
process for each path in the configuration
Generic launcher for browsers specified on the command line . It spawns a child process for each path in the configuration