gulp-angular-protractor/web-driver.js
function (args, callback) {
            let child = this
                .runProtractor(args)
                .on('exit', function (code) {
                    if (child) {
                        child.kill();
                    }

                    if (callback) {
                        callback(code);
                    }
                });
        }
function (args, callback) {
            let child = this
                .runProtractor(args)
                .on('exit', function (code) {
                    if (child) {
                        child.kill();
                    }

                    if (callback) {
                        callback(code);
                    }
                });
        }
Execute the protractor engine

@method
@static
@param {string[]} args
@param {Function} callback