package de.ugoe.cs.util.console.defaultcommands;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStreamReader;
import java.security.InvalidParameterException;
import java.util.List;
import de.ugoe.cs.util.console.Command;
import de.ugoe.cs.util.console.CommandExecuter;
import de.ugoe.cs.util.console.Console;
/**
*
* Command to execute a batch of {@link Command}s. The batch is defined as a
* text file, where each line defines one command.
*
*
* @author Steffen Herbold
* @version 1.0
*/
public class CMDexec implements Command {
/*
* (non-Javadoc)
*
* @see de.ugoe.cs.util.console.Command#run(java.util.List)
*/
public void run(List