E
Ema Fuma
Hi all,
it's my first post here, so I hope I'm in the right place to ask.
I'm using Ruby for implementi a simple script, I have problem when I
want to launch an exe with as argument a path with spaces:
something like
command = "mediainfo C:\\folder1\\another folder\\file.mp4 "
IO.popen(command)
If there's a space in the path it doesn't work
command = "mediainfo C:\\folder1\\file.mp4 "
IO.popen(command)
This works,
is there something I'm missing?
Thanks a lot for any reply
Bye
it's my first post here, so I hope I'm in the right place to ask.
I'm using Ruby for implementi a simple script, I have problem when I
want to launch an exe with as argument a path with spaces:
something like
command = "mediainfo C:\\folder1\\another folder\\file.mp4 "
IO.popen(command)
If there's a space in the path it doesn't work
command = "mediainfo C:\\folder1\\file.mp4 "
IO.popen(command)
This works,
is there something I'm missing?
Thanks a lot for any reply
Bye