Class JavaShell

  • All Implemented Interfaces:
    java.lang.Cloneable

    public class JavaShell
    extends org.codehaus.plexus.util.cli.shell.Shell
    plexus-util hack to run a command WITHOUT a shell see PLXUTILS-107
    • Constructor Summary

      Constructors 
      Constructor Description
      JavaShell()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.util.List<java.lang.String> getRawCommandLine​(java.lang.String executable, java.lang.String[] arguments)  
      • Methods inherited from class org.codehaus.plexus.util.cli.shell.Shell

        addShellArg, clearArguments, clone, getArgumentEscapePattern, getArgumentQuoteDelimiter, getCommandLine, getEscapeChars, getExecutable, getExecutableQuoteDelimiter, getExecutionPreamble, getOriginalCommandLine, getOriginalExecutable, getQuotingTriggerChars, getShellArgs, getShellArgsList, getShellCommand, getShellCommandLine, getWorkingDirectory, getWorkingDirectoryAsString, isDoubleQuotedArgumentEscaped, isDoubleQuotedExecutableEscaped, isQuotedArgumentsEnabled, isQuotedExecutableEnabled, isSingleQuotedArgumentEscaped, isSingleQuotedExecutableEscaped, quoteOneItem, setArgumentEscapePattern, setArgumentQuoteDelimiter, setDoubleQuotedArgumentEscaped, setDoubleQuotedExecutableEscaped, setExecutable, setExecutableQuoteDelimiter, setQuotedArgumentsEnabled, setQuotedExecutableEnabled, setShellArgs, setShellCommand, setSingleQuotedArgumentEscaped, setSingleQuotedExecutableEscaped, setUnconditionalQuoting, setWorkingDirectory, setWorkingDirectory
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JavaShell

        public JavaShell()
    • Method Detail

      • getRawCommandLine

        protected java.util.List<java.lang.String> getRawCommandLine​(java.lang.String executable,
                                                                     java.lang.String[] arguments)
        Overrides:
        getRawCommandLine in class org.codehaus.plexus.util.cli.shell.Shell