Method: Yast::CommandLineClass#Scan
- Defined in:
- library/commandline/src/modules/CommandLine.rb
#Scan ⇒ Array<String>
Scan a command line from stdin, return it split into a list
1265 1266 1267 1268 1269 1270 |
# File 'library/commandline/src/modules/CommandLine.rb', line 1265 def Scan res = Convert.to_string(SCR.Read(path(".dev.tty"))) return nil if res.nil? String.ParseOptions(res, "separator" => " ") end |