Lines Matching refs:shell
5 """A module for the shell command."""
14 """The implementation of the shell command.
16 The shell command is the escape hatch that lets user run any program in the
22 self.help = 'Launch a shell'
25 shell (ie bash) with the environment modified to that used for the
28 in that shell.
35 self.ConsumeArgs(parser, 'the shell')
42 # If we get here, we are trying to launch an interactive shell
43 shell = os.environ.get('SHELL', None)
44 if shell is None:
45 print 'Don\'t know how to run a shell on this system'
46 elif shell.endswith('bash'):
51 cr.Host.Execute(shell, '--rcfile', rcfile.name)
53 cr.Host.Execute(shell)