@Override public void run() { if (args.length > 1) { runAsProcess(); } else { runAsThread(args[0]); } }