I have C# console program in windows server. I run command in Linux with wine. When wine run in Linux, İt always returns 0 (Linux command "$?" show last program return value). İf program return -5, I see 0 in Linux again. Because console program run. But I want to take it in linux that returns the value. How can I understand this return value? İs it possible?
Asked
Active
Viewed 269 times
0
-
What version is your Mono? See [this post](http://stackoverflow.com/questions/9372977/preserve-exit-code-in-mono). – Jason Jan 31 '13 at 09:38
-
I dont use Mono. I run with wine. That is: wine
/ – messah Jan 31 '13 at 09:45.exe there is native windows dll and its dont run with mono. if it is .net dll, I will do. But I dont. Am i right? -
I think you're right. Sorry, my mistake. – Jason Jan 31 '13 at 09:51
-
No problem if ı am right cause I know that – messah Jan 31 '13 at 09:56