问题
I need to call an installed tool - Import.io using PHP in Ubuntu. Whenever I click on the PHP button it should navigate to import.io tool installed in the system and open import.io. how can I do it?
回答1:
Files ending in .exe
are Windows binaries, and won't run on Ubuntu natively. You might be able to get it to run on Wine, a Windows emulator for Linux.
However, since this is import.io, I suspect it would be much easier, and much more reliable, to call their API instead. You can do this with any HTTP library, such as cURL, Guzzle, Pest, etc.
来源:https://stackoverflow.com/questions/29028525/running-a-exe-file-import-io-through-php-in-ubuntu