Method: CommandMapper::Command#popen_command
- Defined in:
- lib/command_mapper/command.rb
#popen_command(mode = nil) ⇒ IO
Executes the command and returns an IO object to it.
774 775 776 777 778 |
# File 'lib/command_mapper/command.rb', line 774 def popen_command(mode=nil) if mode then IO.popen(@command_env,command_argv,mode) else IO.popen(@command_env,command_argv) end end |