Module: Windows::Exec
Constant Summary collapse
- ABS_CMD =
'c:\\\\windows\\\\system32\\\\cmd.exe'
- CMD =
'cmd.exe'
Instance Method Summary collapse
Methods included from Beaker::CommandFactory
Instance Method Details
#echo(msg, abs = true) ⇒ Object
7 8 9 |
# File 'lib/beaker/host/windows/exec.rb', line 7 def echo(msg, abs=true) (abs ? ABS_CMD : CMD) + " /c echo #{msg}" end |
#path ⇒ Object
15 16 17 |
# File 'lib/beaker/host/windows/exec.rb', line 15 def path 'c:/windows/system32;c:/windows' end |