function tryToExit() {
    if (fds & 1 && fds & 2) {
      process.exit(code);
    }
  }
// exits process when stdout (1) and sdterr(2) are both drained.
exits process when stdout (1) and sdterr(2) are both drained.
exits process when stdout ( 1 ) and sdterr ( 2 ) are both drained .
function tryToExit() {
    if (fds & 1 && fds & 2) {
      process.exit(code);
    }
  }
function tryToExit ( ) { if ( fds & 1 && fds & 2 ) { process . exit ( code ) ; } }
exits process when stdout (1) and sdterr(2) are both drained.
exits process when stdout ( 1 ) and sdterr ( 2 ) are both drained .