L
Larry Jones
System command won’t work with arguments.
For example, a simple test in Windows (launch Notepad from ruby..)
command = 'c:\windows\notepad’
arg = “myfile.txtâ€
system(command, arg)
Remove the arg and Notepad launches fine.
Notepad (or any other program) won't launch with command line arguments.
Am I missing something?
Larry.
For example, a simple test in Windows (launch Notepad from ruby..)
command = 'c:\windows\notepad’
arg = “myfile.txtâ€
system(command, arg)
Remove the arg and Notepad launches fine.
Notepad (or any other program) won't launch with command line arguments.
Am I missing something?
Larry.