kaiprt kaiprt - 1 year ago 84
Ruby Question

How to execute .bat file with batch parameters

I am trying to execute a .bat file with Ruby using:


However, I would like to pass parameters to this file. Is this possible?

Answer Source

Just pass them as you would do it normally.

`path\to\.bat -some=flag another-way`