Ruby - Execute external command (system)
- system
res = system("ls -l")
puts "\n"
puts res
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
res = system("ls -l")
puts "\n"
puts res