[Wine] What value does Wine return..?

johne53 wineforum-user at winehq.org
Mon Aug 25 17:59:03 CDT 2008

Hi there - I'm trying to run a Windows app programmatically (under Linux) by shelling to Wine - but I need to check its return value. Linux has various functions for obtaining a process ID but of course I end up with the ID for Wine, rather than the process being hosted. Using the process ID I can check the value returned when the process closes but once again, this retrieves the value returned by Wine.

I'm not exactly sure what Wine returns once the hosted app gets closed but whatever it is, it doesn't seem to be the value returned by the relevant app. Does anyone know what Wine returns and if there's any way to make it return the value that was returned by the hosted app?

Hope that all makes sense....  :)

More information about the wine-users mailing list