submit each part of a command separately, as an argument to system: : system « Development « Ruby






submit each part of a command separately, as an argument to system:


system "echo", "Hello,", "Matz!"

 








Related examples in the same category

1.Getting Results from Other Programs
2.run an operating system command with system:
3.Create a zero-length file with a system command
4.Run notepad.exe with system function