I need to parse word documents. Best solution I've found to do so is using 'antiword'. If there is a Ruby solution, I'll definitely go for it, because it'll solve this problem too...
It's nice -- but if I run this as a scheduled task with rubyw.exe, then I get a whole lot of command-line windows that blink in and out as antiword gets run.
If I run it with ruy.exe, then I just get one command-line window..
Is there a way to have Ruby either hide the command-line window or have it run minimized?
.. This may be a Windows question, and if so I apologize, but I was wondering if Ruby could really do it all
Tao Te Ching Discussions : Chapter 9 (includes links to previous chapters)
What is the nature of conflict?
Code:
report = `c:/antiword/antiword.exe -m cp850.txt "#{@filename}"`.split("\n")
It's nice -- but if I run this as a scheduled task with rubyw.exe, then I get a whole lot of command-line windows that blink in and out as antiword gets run.
If I run it with ruy.exe, then I just get one command-line window..
Is there a way to have Ruby either hide the command-line window or have it run minimized?
.. This may be a Windows question, and if so I apologize, but I was wondering if Ruby could really do it all
Tao Te Ching Discussions : Chapter 9 (includes links to previous chapters)
What is the nature of conflict?