in reply to Two operating systems.
I wrote an article about doing something similar with Perl and VMWare (which has a Perl API) to build a test farm for the Krang project. Check it out here, might give you some ideas:
Another option to consider is Wine - you could potentially run your Windows program in an emulated environment. I've seen that work successfully to run a Windows-only geo-coder under Linux.