hi,
I want to use a windows app to watermark pdf files from a linux application (atlassian confluence).
"wine mywinapp.exe" works perfectly from a linux terminal, from a bash file, no pb.
When calling wine from a java process (rt.exec("wine mywinapp.exe")), or calling the same bash file from a java process, it seems wine is never called.
Tried everything putting hardcoded pathes, i.e. /usr/bin/wine /my/path/mywinapp.exe, checked my linuw app was accessing all binaries, etc..., logged as my linux app and manage to execute wine, etc...
I can see some process is executed, for instance my bash file "echo" are working well meaning this bash is executed by my linux app, but not the wine command.
My questions:
- how can I make wine "say" something? I'd like to figure out whether wine is called but not mywinapp.exe, or whether wine is not called at all.
- Do you have any suggestion to fix this? Any idea why "wine mywinapp.exe" is working perfectly from command line / bash but not from my linux application?
Thanks in advance for your help,
Laurent
calling wine from another application does not work
Re: calling wine from another application does not work
updates:
calling "wine --version" is working from my application.
calling "wine helloworld.exe" is not working from my application, while it is when calling the same from terminal logged as my application.
How can I debug, see what wine is taking as argument, and why it does not "find" helloworld.exe when called from another app?
Thanks in advance for your help,
Laurent
calling "wine --version" is working from my application.
calling "wine helloworld.exe" is not working from my application, while it is when calling the same from terminal logged as my application.
How can I debug, see what wine is taking as argument, and why it does not "find" helloworld.exe when called from another app?
Thanks in advance for your help,
Laurent