Re: Eu4 - Using wget with wine AND WINDOWS
- Posted by sergelli Jul 31, 2012
- 1738 views
I think I understand what went wrong here. I refered you to system() but if you want a return value then you actually want to use http://openeuphoria.org/docs/std_os.html#_1849_system_exec
It is strange that system() would return a value on Linux 100% of the time, as it should return a value 0% of the time.
Yes, you're right, System () never returns. But I'm talking about HTTP_GET() function, running on my PC.
See the line below that is running on my PC.
object xxx=http_get(url&"/MyBinary")
The function http_get() runs MyBinary on my ISP. and returns several lines of this function and also the lines produced by MyBinary But, only in Linux the return is 100%
In order to prove, maybe, you can even do a test, using the demonstration program "wget.ex" that is in your directory euphoria/demo/net and use the binary program that I put in my ISP