BashShell

gridscale.tools.shell.BashShell
object BashShell

Ugly attempt to "generify" user shell assumption 1: Bash is installed on the target host assumption 2: the env variables required for a successful execution are defined in .bashrc => env -i + the sourced files mimics what happens when a bash login shell is started => bash << EOF prevents the default shell (which might not be bash) to process the command resulting in this combination...

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
BashShell.type

Members list

Value members

Concrete methods

def buildCommand(cmd: String): String
def localBashCommand(from: String): (String, String)
def remoteBashCommand(from: String): String
def source: String

Concrete fields

val shell: String