org.apache.maven.surefire.booter.shell
Class CmdShell
java.lang.Object
org.apache.maven.surefire.booter.shell.Shell
org.apache.maven.surefire.booter.shell.CmdShell
public class CmdShell
- extends Shell
Class with patches copied from plexus-utils with fix for PLX-161,
as we can not upgrade plexus-utils until it's upgraded in core Maven
TODO deprecate when plexus-utils 1.2 can be used
- 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 © 2004-2010 The Apache Software Foundation. All Rights Reserved.