We have installed successfully a large financial application on linux by using wine 1 rc. It is written in C++. We need to invoke a php gtk application from within compiled c++ application, and it fails to execute in wine. Q: is it possible to send a call to host linux system, in order to run the php gtk process atop host Linux os? In other words, we's like to call linux php cli, instead of windows "php-win.exe", by using C++ system call. thanks, martti
Marcel W. Wysocki
2008-Jun-15 15:21 UTC
[Wine] How to invoice linux shell from wine bottle
On Sun, 15 Jun 2008 09:18:41 -0500 "aplcomp" <wineforum-user at winehq.org> wrote:> We have installed successfully a large financial application on linux by using wine 1 rc. It is written in C++. We need to invoke a php gtk application from within compiled c++ application, and it fails to execute in wine. > > Q: is it possible to send a call to host linux system, in order to run the php gtk process atop host Linux os? > In other words, we's like to call linux php cli, instead of windows "php-win.exe", by using C++ system call. > > thanks, martti >you should be able to run any unix command from within wine -- Marcel W. Wysocki <maci at satgnu.net> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: not available Url : http://www.winehq.org/pipermail/wine-users/attachments/20080615/0a32a5a8/attachment.pgp
not sure if I understand the question fully but I have a windows application running under wine that needs to launch/start a linux application, what I did was make a script and saved it as launch.exe in launch.exe I simply have the #!/bin/bash /usr/bin/linuxapplication and so my windows program under wine starts launch.exe which under unix start my linuxapplication. ... hope this helps
Yes, it works as you instructed! Thanks a lot. I believe this is an important facility: to invoke linux host shell commands from an windows application. Would it be worth included in Faq list?