Run notepad.exe with system function : system « Development « Ruby






Run notepad.exe with system function


system("notepad.exe","myfile.txt")  # No problem...

 








Related examples in the same category

1.Getting Results from Other Programs
2.run an operating system command with system:
3.submit each part of a command separately, as an argument to system:
4.Create a zero-length file with a system command