"Stuart Unsworth" <s.unsworth / videonetworks.com> writes:

> I'm currently writing a parser for a configuration file using ruby. The
> configuration file is part of a compile process which runs across a network
> with Windows clients and some Unix servers. I want the ruby parser to run as
> part of the compile process but I'm unsure as to how to integrate it. Is it
> possible to run a ruby program with arguments (so I can allow the user to
> change which file is parsed) via a script?

Absolutely. If you're currently using an IDE to build your
application, see if you can get it to work with Makefiles. You can
then create makefile rules to run your Ruby.

> Is it sensible to run it remotely via a telnet session?

Yes, but then someone would have to type. You might want to look at
rsh, which allows you to run a command on a remote machine. This would
probably integrate into your scripts better.


Regards


Dave