def_system_command(command, path = command)
  public
  
    
    
CommandProcessor.def_system_command(command, path)
  command:  String
  path:       String
define 'command()' method as method.
   
  
    Show source    
    
      
    def self.def_system_command(command, path = command)
      begin
        eval((d = %[def #{command}(*opts)
                  SystemCommand.new(@shell, '#{path}', *opts)
               end]), nil, __FILE__, __LINE__ - 1)
      rescue SyntaxError
        Shell.notify "warn: Can't define #{command} path: #{path}." 
      end
      Shell.notify "Define #{command} path: #{path}.", Shell.debug?
      Shell.notify("Definition of #{command}: ", d, 
             Shell.debug.kind_of?(Integer) && Shell.debug > 1)
    end