[pkg-wine-party] Try 3: WoW64 implemented Re: Call for testing: automatically detect wine arch and WoW64

Michael Gilbert mgilbert at debian.org
Sun Jan 10 04:06:46 UTC 2016


On Sat, Jan 9, 2016 at 10:04 PM, Jens Reyer wrote:
> On 01/10/2016 03:44 AM, Michael Gilbert wrote:
>> On Sat, Jan 9, 2016 at 9:27 PM, Jens Reyer wrote:
>>> Is there any reason not to use exec in the wrapper script's last line?
>>> Otherwise I'd suggest to do that.
>>
>> Is there a particular reason to?  The overhead of the shell process
>> continuing isn't so large.
>
> I'm not aware of any issues that actually do harm. But it's generally
> recommended for wrapper scripts (based on the first three results of a
> quick web search for exec+wrapper, including the FreeBSD porters
> handbook [1]). Reasons stated are:
>
> - PID stays the same, allowing e.g. easier process communication,
> however I'm not aware of this being relevant for wine. Not sure,
> especially for the wineserver, where I don't use exec either. Tests so
> far didn't show any issues however.
>
> - Saves system resources (you already commented on that).
>
> - Saves one process fork.

Those are all basically one in the same.

The tradeoff is that without exec, top's (and other task managers)
output contains the actual process calling hierarchy.  To me, that is
is a truer representation.

But I don't have a strong opinion either way.

Best wishes,
Mike



More information about the pkg-wine-party mailing list