org.codehaus.plexus.util.cli.shell

Class BourneShell

public class BourneShell extends Shell

Version: $Id: BourneShell.java 6605 2007-07-07 12:19:00Z olamy $

Author: Jason van Zyl

Constructor Summary
BourneShell()
BourneShell(boolean isLoginShell)
Method Summary
StringgetExecutable()
String[]getShellArgs()
ListgetShellArgsList()
static StringhandleQuote(String path)
Convenience method to handle single or double quote in a path

Constructor Detail

BourneShell

public BourneShell()

BourneShell

public BourneShell(boolean isLoginShell)

Method Detail

getExecutable

public String getExecutable()

getShellArgs

public String[] getShellArgs()

getShellArgsList

public List getShellArgsList()

handleQuote

private static String handleQuote(String path)
Convenience method to handle single or double quote in a path

Parameters: path

Returns: corrected path