org.apache.maven.it.util.cli.shell
Class CmdShell
java.lang.Object
org.apache.maven.it.util.cli.shell.Shell
org.apache.maven.it.util.cli.shell.CmdShell
public class CmdShell
- extends Shell
Implementation to call the CMD Shell present on Windows NT, 2000 and XP
- Since:
- 1.2
- Author:
- Carlos Sanchez
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CmdShell
public CmdShell()
getCommandLine
public List getCommandLine(String executable,
String[] arguments)
- Specific implementation that quotes the all the command line
- Overrides:
getCommandLine
in class Shell
- Parameters:
executable
- executable that the shell has to callarguments
- arguments for the executable, not the shell
- Returns:
- List with one String object with executable and arguments quoted as needed
Copyright © 2002-2011 The Apache Software Foundation. All Rights Reserved.