Rails
From Kingside Wiki
Run System Commands From Ruby
- [code]system[/code]
- [code]system(“ls”)[/code]
- ‘’’system’’’ will print the command output as it happens
’’’Note’’’
system
will make your Ruby program ‘’’’’wait until the command is done’’’’’