I have an executable file (executor.exe) that works with windows.
It takes input and provides output. It takes as input a text file, then it connects to some websites, and finally it exports a file that depends on the command line parameters (usually txt or xml).
For example, if I run the following command in windows command line:
X:\path\to\executor.exe input.wpf -format xml -out output.xml
- the executor will read the input.wpf (a simple txt file)
- it will connect to some websites included in the wpf file
- it will output an xml file with the filename "output.xml"
I have already set up the plugin main code, and have set up a scheduler, too. Now, I'm looking for a way to run this exe file from inside a wordpress plugin.
So I have 2 questions:
How can I run the executor at the backend of Wordpress? Will it output the xml file?
My webhost is a shared one and it's based on linux. Would this be a problem if someone has some other configuration/setup in his webhost?