lib/proc.js
function reload(args) {
    if (args !== undefined) {
        if (args.l !== undefined) {
            fs.closeSync(1);
            fs.openSync(args.l, 'a+');
        }

        if (args.e !== undefined) {
            fs.closeSync(2);
            fs.openSync(args.e, 'a+');
        }
    }
}
function reload(args) {
    if (args !== undefined) {
        if (args.l !== undefined) {
            fs.closeSync(1);
            fs.openSync(args.l, 'a+');
        }

        if (args.e !== undefined) {
            fs.closeSync(2);
            fs.openSync(args.e, 'a+');
        }
    }
}
function reload ( args ) { if ( args !== undefined ) { if ( args . l !== undefined ) { fs . closeSync ( 1 ) ; fs . openSync ( args . l , 'a+' ) ; } if ( args . e !== undefined ) { fs . closeSync ( 2 ) ; fs . openSync ( args . e , 'a+' ) ; } } }
Close the standard output and error descriptors
and redirect them to the specified files provided
in the argument
Close the standard output and error descriptors and redirect them to the specified files provided in the argument