public void launch(String[] args) {
		int result = 1;
		// launch -n <node> <name> <args>
		if (args[1].equals("-n")) {
			String[] cmds = new String[args.length - 4];
			System.arraycopy(args, 4, cmds, 0, args.length - 4);
			if (startProcess(args[3], cmds, args[2]) != 1) {
				result = -1;
			}
		}
		// launch <name> <args>
		else {
			String[] cmds = new String[args.length - 2];
			System.arraycopy(args, 2, cmds, 0, args.length - 2);
			if (startProcess(args[1], cmds, null) != 1) {
				result = -1;
			}
		}
		if (result != 1) {
			System.out.println("Fail to launch process");
		} else {
			System.out.println("Launch process Success");
		}
	}